Pages

Friday, June 8, 2012

ASP.NET Mobile Development with Visual Studio 2008

0 comments
Download Template


1.Download Template First


2.Copy zip files with filenames ending with "_cs" to:

[My Documents]\Visual Studio 2008\Templates\ItemTemplates\Visual C#

3.open your visual studio 2008 website project again

4.Right Click Solution Explore and select Add new Item....


5.In the Add New Item dialog box ,in My Template Selection  select Mobile Form(select language  C#)


To help users with this scenario, I've created the following item templates for ASP.NET Web Site and ASP.NET Web Application projects:
  • Mobile Web Form
  • Mobile Web User Control
  • Mobile Web Configuration File
The templates are available in both VB and C# versions.




One limitation users should be aware of is the Design View in Visual Studio 2008, which is based on a completely new archtecure, does not display ASP.NET mobile controls.  However, using these templates you should be able to develop ASP.NET Mobile applicaitons using the Source View just fine.
Once installed, these templates enable users to create and edit new ASP.NET Mobile Web Forms in ASP.NET Web Site and ASP.NET Web Applicaiton project types.
To install these templates download the attachment included in this post, extract the ZIP file, and follow the instructions in the included readme.txt files.


Read more...