Welcome to MSDN Blogs Sign in | Join | Help

Visual Web Developer Team Blog

Your official information source from the Visual Web Developer team.

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use
Tip/Trick: ASP.NET Mobile Development with Visual Studio 2008
If you are using Visual Studio 2008, you might have noticed that it doesn't have item templates for ASP.NET Mobile Web Forms (which were previously available in Visual Studio 2003).  

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.

Happy mobile development!

- Omar Khan
Group Program Manager
Visual Web Developer

Posted: Monday, September 17, 2007 6:00 PM by WebDevTools
Attachment(s): ASP.NET Mobile Templates.zip

Comments

Edwin said:

Oops, looks like mobile development support in the VS IDE will be dropped, or does it?

# September 18, 2007 10:23 AM

かるあ のメモ said:

以前 「ASP.NET モバイル Web アプリケーション再入門」 というMSDNオフラインセミナーに参加したときに講師の物江さんに質問した内容が返ってきたので共有します。

# September 20, 2007 12:18 AM

Cláudio Ralha said:

Amigos, essa dica é para todos aqueles que desenvolvem aplicações ASP.NET Mobile e já...

# September 24, 2007 11:02 PM

Borsalino Moreno said:

Ancora su Mobile ASP.Net in VS2008

# October 31, 2007 6:03 PM

Sergio Oehler (soehler@truesys.com) said:

Omar

I think that this will make a lot of disapointed users , who trusted Microsoft. This is final ? Support for mobile controls design view will be really droped ? This is unbelivable and unaceptable if so. This is Visual Studio bringing "unproductivity"instead of the promissed productivity.

This is a shame, where can we file our complaits about this ?

# November 8, 2007 6:51 PM

janakk said:

Omar,

Any plans of supporting the design view for mobile controls at all? Design View really helps in fast development. I would really appreciate if you could reply.

Thanks,

Janak

# November 20, 2007 6:01 PM

DaveMo said:

This is pretty disappointing if the current trend is going to be to break compatibility for the mobile controls. Our company had been working on development of an ASP.NET mobile application using VS2005 as our primary means of development. While the design view is by no means necessary to do development the fact that these templates are still not even default in VS2008 is a little unsettling. Now with other things (such as the design view for mobile) breaking we're finding less reasons to move to VS2008 for this application.

Is this going to be the continued trend?

# November 20, 2007 6:01 PM

Sandesh said:

Hi

I want to apply CSS padding and Border to my MOBILE control in ASP.NET

How can i do that

Please help....

email Id  sandesh_daddi@hotmail.com

# November 21, 2007 3:00 AM

Rory Birkbeck said:

Yes I would like to know what's going on! I am heavily involved in some asp.net mobile dev work, why is there no mobile templates built-in to VS2008? This is the future.. is Microsoft going to drop the ball on this?

# November 21, 2007 6:36 PM

janakk said:

Yes it would be good to know what is the road map for it. We have just started building an application. If the mobile controls are going to be phased out gradually then we would have to find another alternative for it.

# November 22, 2007 11:49 AM

Sergio Oehler (soehler@truesys.com) said:

Dear Omar Khan

You are the right one to hear about our complaints, if dont who is the one ?

Thanks for the Help !

# November 25, 2007 4:17 PM

Bhrugesh said:

Should we continue development with pretty good concept of adaptive rendering using asp.net mobile control?

# December 3, 2007 12:03 AM

Thoughts of Mike Reagan said:

No Mobile Web Forms Support in Visual Studio 2008 RTM?

# January 26, 2008 8:05 PM

纵坐标的幻 said:

今天发现一个令人沮丧的事情,VisualStudio2008

# January 28, 2008 12:11 AM

纵坐标的幻 said:

今天发现一个令人沮丧的事情,VisualStudio2008

# January 28, 2008 12:14 AM

Tatto's Blog said:

ASP .Net Mobile Development Links

# February 8, 2008 6:18 PM

AlbLog - Il blog di Alberto Dallagiacoma said:

Come si crea una Mobile Web Application in VS 2008?

# June 24, 2008 11:23 AM

Kilala’s .TEXT said:

[ASP.NET MobileDevice]VS2008でMobileWebFormを使う

# June 26, 2008 9:39 AM

Desde mi Ventana Movil said:

Varias personas me lo han mencionado y es que en Visual Studio 2008 no van a encontrar los proyectos

# August 2, 2008 4:33 PM

Inrie(洪晓军) said:

在VisualStudio.NET2003和VisualStudio2005里,在

# September 10, 2008 12:04 AM

Andrej Tozon's blog said:

Visual Studio 2008 introduced a lot of new features to support new technologies, adding some cool new

# September 29, 2008 4:44 AM

Andrej Tozon's blog said:

Visual Studio 2008 introduced a lot of new features to support new technologies, adding some cool new

# September 29, 2008 4:44 AM

Zunanji viri said:

Visual Studio 2008 introduced a lot of new features to support new technologies, adding some cool new

# September 29, 2008 5:24 AM

かるあ のメモ said:

もういい加減しつこくなってきたんだけれど、確認したらやっぱり無かったよ。connect のフィードバックに送ったこの提案もそのままだしなー。2010のバグであげてみようかな Visual Web Developer Team Blog からダウンロード出来る例のテンプレートを入れて Mobile Web Form を作ってみたらこんなダイアログ。untrusted component といわれてしまった。 とりあえず、System.Web.Mobileを参照設定するとWebFor...

# December 7, 2008 10:26 AM

The Windows Mobile RSS (Reed and Steve Stuff) Feed said:

The Web Browsing experience has really heated up for mobile devices over the last year or two.  

# December 9, 2008 8:28 AM

What's New? said:

I had an opportunity to present a session on “Using .NET Skills to Develop Mobile Applications with Compact

# February 20, 2009 9:32 PM

Gunnar Peipman's ASP.NET blog said:

SharePoint Performance Optimizations for Large Programmatic User Profile Imports SharePoint Feature:

# March 7, 2009 9:49 AM

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# March 7, 2009 1:35 PM

Kingly said:

让VS2008也可以用MobileWebForm

在VisualStudio.NET2003和VisualStudio2005里,在

# May 5, 2009 12:04 PM
New Comments to this post are disabled
Page view tracker