What's in Mobile Internet Tool?


Hi Friends,
C# Corner has redesigned and now I've one separate column on Mobile Programming. This is my first article on this new column as well as after Beta2 of Mobile .NET.
If you've written any .NET mobile SDK programs in beta 1, you must be wondering what's new in Beta 2. Microsoft has changed some namespace names and classes in Beta 2. The new name for .NET Mobile Web SDK is Mobile Internet Toolkit.
If you had any Beta 1 based program written using .NET Mobile Web SDK and it`s not working on Mobile Internet Toolkit even after updating the script part to Beta2, no wonder. The reason for that is there have been many changes and even Microsoft have chanced namespace names.
For example, in beta 1, you used to use System.Mobile and its helper namespaces and your first two likes of code would look like below-
  1. <%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="C#"Debug="true" %>  
  2. <%@ Register TagPrefix="mobile"Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile"%>  
But now there is only one Assembly that is System.Web.Mobile.dll, System.Mobile is now System.Web.Mobile and System.Mobile.UI is now:
  1. System.Mobile.UI.MobileControls.  
So now it will be like"
  1. <%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="C#"Debug="true" %>  
  2. <%@ Register TagPrefix="mobile"Namespace="System.Web.UI.MobileControls"Assembly="System.Web.Mobile"%>  
Try this to your previous written code change this way. Even the properties name like FontSize, FontName, and now become as  Font-Size and Font-Name.
Anyway, rest updates in the next one.