Reader Level:
ARTICLE

What's in Mobile Internet Tool?

Posted by Shivani Articles | Compact Framework July 05, 2001
The New Name For .NET Mobile Web Is Mobile Internet Toolkit.
  • 0
  • 0
  • 8166

Introduction

Hi Friends,

C# Corner has redesigned and now I've one separate column on Mobile Programming. This is my first Article to this new coloumn 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 have 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 beow-

<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="C#"Debug="true" %>
<%@ 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:

System.Mobile.UI.MobileControls.

So now it will be like"

<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="C#"Debug="true" %>
<%@ 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.

Any way, rest updates in next one.

COMMENT USING

Trending up