Build Mobile Apps with ASP.NetMicrosoft development experts are rapidly leveraging the power of ASP.NET MVC to build 100% nativeapplications for mobile devices. ASP.NET mobile controls enable you to build applications that renderintelligently on different devices since it has been integrated into Microsoft Visual Studio .NET 2003. Itdoes this regardless of the markup language, browser, or form factor.Mobile application development in ASP.NET is pretty similar to the traditional ASP.NET web applicationdevelopment. All mobile web pages are inherited from MobilePage class which exists in theSystem.Web.UI.MobileControls namespace. ASP.NET also provides a System.Web.Mobile namespacethat is devoted specifically to mobile Web development to help developers create applications for mobiledevices. You can create a Web page from the MobilePage base class and add controls from theSystem.Web.Mobile namespace. A suite of Web server controls and adapters are defined by thisnameplace that are especially useful when creating applications that need to be available to manydifferent mobile devices.Another great feature provided by ASP.NET 2.0 is a control-adaptive architecture that allows customdevice adapters to be created for ASP.NET 2.0 Web server controls. These adapters allow creation ofcustom rendering for a control based on the requesting browser. Owing to this adaptive architecture,developers can create custom adapters for ASP.NET Web server controls to render output specific to thedevices that access the developed application on desktop browsers.Mobile and desktop development in ASP.NET follows the standard .NET event -driven model in whichyour application responds to user requests, button clicks, etc.ARCHITECTURELike mentioned above, ASP.NET does integrate technology to make mobile application developmentfollow the same pattern as traditional web application development, the architectures primary motive isnot to let you to create single pages that can target browsers in both desktop and mobile devices. Thiswould mean that pages designed for desktop browsers will not translate to mobile device browsers.The presentation logic follows a similar pattern for both kinds of .NET development. Unlike in a web app,in a mobile device, form input and validation can be much harder to display in a format that is usable.Also, for mobile devices some developers provide shortcuts that allow the user to fill in information withless amount of typing because the device might be difficult to type on or to avoid mobile screen spacerestrictions.Therefore, developers are advised to create separate pages in ASP.NET Web application for use indesktop and mobile device browsers. A page developed specifically for mobile device browsers allowsthe further breakdown of presentation logic into smaller pieces that work better for the devices displayarea and input hardware.
WEB SERVER CONTROLSThe good thing about creating mobile apps in ASP.NET is that most ASP.NET 2.0 Web server controlsadhere to the unified adapter architecture. This means that it creates the proper markup language so thatall controls can behave differently depending on the requesting device by calling a custom adapter. If anadapter is configured in the browser definitions file for the requesting device or browser, ASP.NET callsthe adapter at each life-cycle stage of a Web server control. Then the adapter adjusts the renderedoutput.ASP.NET is surely a great platform that enables the development of feature rich and user-friendly mobileapps.