Blue Theme Orange Theme Green Theme Red Theme
 
Home | Forums | Videos | Advertise | Certifications | Downloads | Blogs | Interviews | Jobs | Beginners | Training
 | Consulting  
Submit an Article Submit a Blog 
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
DevExpress UI Controls
Search :       Advanced Search »
Home » Mobile & Embedded » Steps to Create Mobile Application in ASP.NET 2.0

Steps to Create Mobile Application in ASP.NET 2.0

In this article you will learn how to create mobile application in ASP.NET 2.0.

Page Views : 11546
Downloads : 0
Rating :
 Rate it
Level : Intermediate
   Print Read/Post comments Post a comment  Similar Articles  
   Email to a friend  Bookmark  Author's other articles  
 
Team Foundation Server Hosting
Become a Sponsor
 Tag Cloud
 Latest Jobs
More ... 
 Latest Interview Questions
More ... 


  1. Create a File System Website / You can create directly IIS application also.
  2. Create a folder by the name of Mobile
  3. Add a new mobile web user form.

    image1.gif
     
  4. Rename Default.aspx with a new name otherwise it will clash with the normal website default.aspx webform. I'm renaming this with Mobile_Default.aspx

    image2.gif
  5. Design view of Mobile Web Form.

    image3.gif
  6. You have to use only the Mobile Web Forms tools from toolbox.

    image4.gif

  7. Design view of my mobile web form.

    image5.gif

  8. To run the mobile application on mobile devices you have to configure the IIS in your machine.
  9. Start -> Control Panel -> Administrative Tools -> Double click on internet information service.

    image6.gif
     
  10. Cross check that IIS is working in your computer or not. (You can type the url: http://localhost/iishelp/iis/misc/default.asp)
  11. Also check the default web site shouldn't be stopped. If it's stopped then right click on default website and choose an option start.
  12. Now right click on Default Web Site and go to properties.
  13. Choose "Home Directory" tab:

    image7.gif
     
  14. Replace the Local Path from C:\InetPub\wwwroot to your application path.
  15. Go to dos prompt and check your IP Address and machine name.

    image8.gif
      
  16. Go to internet explorer and type the following url:
    http://localhost/Your Application Name
    http://172.23.22.189/YourApplicationName
    http://00210-E8/YourApplicationName
  17. If it's working fine then first step is over.
  18. Go to your mobile application now.
  19. Go to Tools Menu -> Options -> Devices -> Pocket PC 2003 SE Emulator -> Go to properties

    image9.gif

    image10.gif
     
  20. Click on Emulator Options.

    image11.gif
     
  21. Cross check that all three above options should be unchecked.
  22. Cross Check Microsoft ActiveSync is installed or not. If not then install it.
  23. Now go to Tools Menu -> Click on Device Emulator Manager.

    image12.gif
     
  24. Right Click on Pocket PC 2003 SE Emulator then connect.

    image13.gif

     image14.gif
  25. Right Click on Pocket PC 2003 Emulator and click on Cradle

    image15.gif

     
  26. This will automatically state "The Synchronization with Microsoft Async"
  27. Cross check the settings of Microsoft Async

    image16.gif
     
  28. Go to File -> Click on Connection Settings.
  29. Do the appropriate changes

    image17.gif
     
  30. Click on Ok.

    image18.gif
     
  31. Click on Start and click on settings

    image19.gif

    image20.gif
     
  32. Click on Connections

    image22.gif

     
  33. Double click on Connections

    image21.gif
     
  34. Click on Advanced

    image23.gif
     
  35. Click on Select Networks.

    image24.gif
     
  36. Choose My Work Network and Click on Ok.. Ok... and Ok.
  37. Click on Start and then go to Internet Explorer

    image25.gif
     
  38. Type the URL

    image26.gif
     
  39. Type the specified URL and run application.

    image27.gif

     
  40. Note: When connecting to Microsoft Async it will propmt to configure Microsoft Outlook just ignore that part.
  41. Note: Properly shutdown the Device Emulator. First do uncradle then shutdown and finally close the device emulator.

Comment Request!
Thank you for reading this post. Please post your feedback, question, or comments about this post Here.
Login to add your contents and source code to this article
 [Top] Rate this article
 
 About the author
 
Abhishek Sharma

csharpgoingon

Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Discover the Top 5 .NET Memory Management Fundamentals
To write the best .NET code, you need to know exactly how the .NET framework really manages memory. Ricky Leeks presents the Top 5 fundamental facts of .NET memory management. Learn more.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites – Click Here!
 
 Post a Feedback, Comment, or Question about this article
Subject:
Comment:
Discover the top 5 tips for understanding .NET Interop
Become a Sponsor
 Comments
how do i get mobile web form in vs2008 by tejas On September 10, 2010
how do i get mobile web form in my visual studio 2008... what i need to install to get that...
Reply | Email | Modify 
Re: how do i get mobile web form in vs2008 by Abhishek On February 1, 2011
there are some additional toolkit availavle on net through which u can install it easily... what version r u using.?? i mean team edition,developer edition etc
Reply | Email | Modify 
developing asp.net mobile application in vs2010 by ridhika On January 27, 2011
Hi...can u pls guide me as to how to develop asp.net mobile application in vs 2010 and how to test it?
Reply | Email | Modify 
Re: developing asp.net mobile application in vs2010 by Abhishek On February 1, 2011
actully these days m also go through this module.. in few days i'll finish it then i'll tell u.
Reply | Email | Modify 
is this above application work in all mobiles by sac On March 24, 2011
thanks for your easy post. i have one question that is this application work in all the mobiles like windows... or any kind of platform
Reply | Email | Modify 
is this above application work in all mobiles by sac On March 24, 2011
thank for your reply one question---is this above application work in all mobiles
Reply | Email | Modify 
Re: is this above application work in all mobiles by Abhishek On July 10, 2011
ya it is work in every windows palm...but in HTC windows fone my be it create some imbalence environment...just because of auto asynchronous performance...and if u take my opinion jst go for the palmtops instead of any HTC set...
Reply | Email | Modify 
Nevron Chart
 © 2012  contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.