Muhanad YOUNIS

October 2008 - Posts

UCertify Prep-Kit (070-553 C#) Review
Few days before, I have been asked to review one of products of UCertify Company which is Prep-Kit (070-553 C#). But before writing my review I would like to explain WHY and HOW it's important to get certified.
 WHY;

If you are working in IT section you know very well that the knowledge you have can not be measured easily. You may spend years on the same position without any rise just because you are not able to show how much you know about your work and section. Therefore many companies like Microsoft have started certification programs which will help you to measure your knowledge and show the world that you have good experience in your subject. I believe that when you get certified, you will measure and show your knowledge, beside that you'll raise your life style and salary!

HOW;
This might be the difficult part of this process! If you entered any IT certification exams before (esp. Microsoft), you know very well that they do not ask you on a specific subject only! They will ask you whatever may be related with that subject. When you take such exams, you must be well-equipped to pass it; your daily knowledge may not be enough to make you pass the exam! Getting equipped with knowledge need a long time of study which you may not afford!

From my experience in this subject, I can say that you need some fast courses which will not take much time. There are many companies which offer such services. One of these companies is  UCertify and last week I had the chance to review and check one of those exams: Prep-Kit for (070-553 C#). I found that the package is very useful from these points of views;

  • The way of covering subjects: actually the package covers subjects according to Microsoft requirements in an easy way to make the reader remember what it is related to. ( I liked the flash cards: small hints but very useful)
  • Practice tests: this feature is very good, because it helps you to feel yourself in a real exam. Many practice tests that will help you measure whatever you studied about the subject.
  • Articles: yes articles! Some useful articles about the exam subjects.  
  • How to study:  shows you the right way to prepare yourself for the exam.
  • User-friendly interface
  • And many many more....

I did not think that studying for IT exams could come that much easy, but after I saw the package above, I believed that there is no way to FAIL! By the way, UCertify gives a money back guarantee if you fail to pass the exam! .And before i finish here is some screen shot of Prep-Kit (070-553 C#);

 

 

 you can visit UCertify here http://www.ucertify.com.

Notice: If you want to buy any of uCertify PrepKit product you may use this code for 10% discount as my blog reader. the code "YOUNIS".

 

Hope this helps.

 

.net Workshop

 while surfing i found out that there is people that love to share knowladge. one of them is Richard Grimes. He shared a full workshop about three subjects;

Fusion Workshop
This workshop teaches you all of the aspects of how .NET locates and loads assemblies. 
Security Workshop
This workshop teaches you how .NET security works and how you can use the administration tools to configure it.
Instrumentation Workshop
This workshop teaches you how to add instrumentation to your .NET applications.

 Maybe he create and worte about these subjects early starting in 2005 but i think you should take a look.

Log Off OWA from Code Behind

 After many tries and havey googling to find out the best way to log off OWA from asp.net page code behind while logging out from my main application, i found out that this can be achieved in one way ( in my position). Rise a small popup window and call OWA log out page!

All done with a small javascript. the script is below ;

 private void LogoffOwa()
    {
        string popupScript = "<script language='javascript'>" +
   "var mywindow=window.open('https://OWA_SERVER_Adress/owa/auth/logoff.aspx?Cmd=logoff', 'CustomPopUp', " +
   "'width=1, height=1, menubar=no, resizable=no');" +
   "setTimeout(\"mywindow.close();\",3000);" +
   "</script>";
        Response.Write(popupScript);
    }

in the script you have to set the time out of the window. Do not close the window directly or you will not log off. Just give it some time to open the log off page.

Hope this helps

Posted: Oct 16 2008, 07:56 PM by mohi88 | with no comments |
Filed under: , , , ,
Observer Pattern C#

I wrote a small tutorial about how to use observer patter; view the article here. 

i hope this helps 

Access OWA with C# inside Asp.net Site
One of my work needs was to open OWA inside our web application to make clients more related with the application and let them easy access their emails while working. After some researches i found a simple way to do that, actually it is not that much hard to find the code below, but you have to search well to find it!. An here is the way that i have done that, we have a page with 2 iframes inside it. Upper frame holds the links banner and the bottom frame which holds whatever is clicked from the links banner. The work is to open OWA inside the bottom Banner. To open OWA you have to create a small JavaScript for that which will send the user name and password to be authenticated in from owaauth.dll and if everything goes fine you'll successed to open your email. The code is as below;

public partial class OpenOwaPage : System.Web.UI.Page
{
    private string userName;
    private string passWord;

    protected void Page_Load(object sender, EventArgs e)
    {
      
            passWord = "password";
            userName ="username";
            Response.Write(CreateOWAFrom());
            Response.Write(LoadOWAPostJS("logonForm"));
      
    }

    private string LoadOWAPostJS(string strFormId)
    {
        //Constructs the JS needed to post the data to Realex and returns it
        StringBuilder strScript = new StringBuilder();
        strScript.Append("<script language='javascript'>");
        strScript.Append("var ctlForm = document.forms.namedItem('{0}');");
        strScript.Append("ctlForm.username.value=\"" + userName + "\";");
        strScript.Append("ctlForm.password.value=\"" + passWord + "\";");
        strScript.Append("ctlForm.submit();");
        strScript.Append("</script>");
        return String.Format(strScript.ToString(), strFormId);

    }

    private string CreateOWAFrom()
    {
        //Constructs the Realex HTML form and returns it
        StringBuilder strForm = new StringBuilder();
        strForm.AppendLine("<form id=\"logonForm\" name=\"logonForm\" target=\"_self\" action=\"https://your_Owa_Adress/exchweb/bin/auth/owaauth.dll\" method=\"post\">");
        strForm.AppendLine("<input type=\"hidden\" name=\"destination\" value=\"https://your_Owa_Adress/exchange/\"/>");
        strForm.AppendLine("<input type=\"hidden\" name=\"flags\" value=\"0\"/>");
        strForm.AppendLine("<input type=\"hidden\" name=\"username\" id=\"username\"/>");
        strForm.AppendLine("<input type=\"hidden\" name=\"password\" id=\"password\"/>");
        strForm.AppendLine("<input type=\"hidden\" id=\"SubmitCreds\" name=\"SubmitCreds\" value=\"Connection\"/>");
        strForm.AppendLine("<input type=\"hidden\" id=\"rdoRich\" name=\"forcedownlevel\" value=\"0\"/>");
        strForm.AppendLine("<input type=\"hidden\" id=\"rdoPublic\" name=\"trusted\" value=\"0\"/>");
        strForm.AppendLine("</form>");
        return strForm.ToString();

    }

Sometimes you maybe not able to access your OWA because of your Browser configuration, add your OWA website address to your Browser trusted site to solve this problem. If you do not want to logoff from OWA with the regular logoff button, read this (click here). Otherwise you'll enter OWA any time you type OWA address.

Hope This Helps

Posted: Oct 12 2008, 11:10 AM by mohi88 | with 7 comment(s) |
Filed under: , , ,
Windows 7 Features

windows 7 logo There is some new features which will come with windows 7 makes me feel that Vista was like Windows Millennium (ME). Any way i beleive that Windows 7 will open and new age in operating systems.

here is some links for Windows 7 Features;

http://www.pcauthority.com.au/

http://blogs.msdn.com/

http://www.winsupersite.com/

More Posts