Punit Shah Technical Lead | Microsoft [email protected].
-
Upload
charla-shelton -
Category
Documents
-
view
218 -
download
1
Transcript of Punit Shah Technical Lead | Microsoft [email protected].
![Page 1: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/1.jpg)
Developing ASP.NET Web Applications for Mobile Devices
Punit ShahTechnical Lead | Microsoft [email protected]
![Page 2: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/2.jpg)
Introduction
Why build a Mobile Web Application?
Greater productivity, faster & efficient
communication and data-on-demand.
According to Gartner Research, worldwide
Smartphone sales are expected to reach 1.28
billion units this year ( 11% increase over
2007's)
![Page 3: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/3.jpg)
FAQs for Mobile Web Development How can we support modern phone features
like colors, flash, tickers and tables using
ASP.NET mobile controls?
What will happen when a new device comes to
market with a different screen size and a new
markup language version?
Why will Microsoft not provide device specific
updates?
![Page 4: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/4.jpg)
Challenges until now…
Different form factors needed different ways
of dealing with controls
Learning new markup languages
Lack of a platform that would render
appropriate markup across multiple devices
Extending existing mobile websites to support
new devices
Testing mechanisms
![Page 5: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/5.jpg)
What ASP.NET Mobile Controls offer? Write-once mobile web pages
• From a single code base target multiple
devices
Support for a variety of devices
• Web enabled Cell Phones, PDAs and Pagers
Support multiple mark-up languages
• WML1.1 (WAP); cHTML 1.0, and HTML 3.2
![Page 6: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/6.jpg)
What ASP.NET Mobile Controls offer? Customizable and extensible framework
• Add new controls and support for new
devices
Integrates with Visual Studio.NET
• World-class development tool
![Page 8: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/8.jpg)
IISASP.NET
Development Environment
Production Environment
How does ASP.NET Mobile Application work?
Create mobile Web Form
IntegrateBusiness Logic
Mobile Presentation
Layer (controls)
Test Target Devices
Post toWeb Servers
HTTPRequestDevice
Capabilities
Mobile Controls &
Device Adaptersgenerate display
HTTPResponse
Mobile.aspxPages
![Page 9: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/9.jpg)
What do you need to get started? Visual Studio.NET & .NET Framework
Mobile Internet Toolkit (Only with VS
2002/2003)
Device Emulators
Microsoft Active Sync (Only with XP, 2000 and
2003)
Mobile Templates (With VS2005/2008):
http://blogs.msdn.com/webdevtools/archive/20
07/01/09/tip-trick-using-mobile-web-forms-
with-web-applicaiton-projects.aspx
![Page 11: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/11.jpg)
Customization Reasons to customize?
Optimize the rendering Per device or class of device Used on a per application basis
Control the exact display Override the default behavior
Scenarios Different images Inject browser-specific markup
![Page 13: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/13.jpg)
ASP.NET vs. Mobile Controls Web Forms vs. Mobile Web Forms Viewstate Mechanism Use of Cookies OnViewStateExpire Event SessionStateHistorySize
![Page 14: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/14.jpg)
Supporting New Devices
Defining Mobile Device in Configuration Files.
Identifying the device. (User-Agent)
Identifying device capabilities.
Establishing Capabilities through Testing
![Page 15: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/15.jpg)
Best Practices
Make user input as simple as possible
Design mobile-friendly page layouts
Only show essential information
Avoid heavy graphics
Avoid navigation links and send minimal text
on pages.
Usability Tests.
![Page 16: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/16.jpg)
Feedback/Q&A
Your Feedback is important to us.
Please take a few moments to fill out our
online feedback form
Use the Question Manager on LiveMeeting to
ask your questions now!
![Page 17: Punit Shah Technical Lead | Microsoft punits@microsoft.com.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dbc5503460f94aae33c/html5/thumbnails/17.jpg)
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after
the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.