Monday, April 19, 2010

Basics of the Mobile Internet Toolkit using .NET

The Mobile Internet Toolkit is actually an extension of ASP.NET controls. When you install the toolkit, the installation program places the mobile DLL in the .NET Framework's directory and updates any necessary system files, and this provides you access to mobile controls with the .NET Framework. The Mobile Internet Toolkit consists of only one assembly, System.Web.Mobile.dll. The assembly contains two namespaces-System.Web.Mobile and System.Web.UI.MobileControls-for application development as well as a designer namespace.

When a mobile project is created with Visual Studio .NET, the setup program creates a virtual directory in IIS and stores the DLLs in the bin directory, so you can build mobile pages and run them through the server.

Mobile Web Forms Classes

Web forms in a wireless environment are called mobile Web forms. These forms are similar to Web forms but are designed to work with mobile devices. The mobile classes are similar to Web classes in ASP.NET. The Web Forms controls are described briefly in Table 24.1. We'll discuss these classes in more detail in the following sections.

Read more: C# Corner

Posted via email from jasper22's posterous