开发者

Creating ASP.Net Mobile Web Applications in VS 2010

I am trying to create a mobile version of a web application using VS2010 (.Net 3.5, not 4). When I search for information on ASP.net mobile I see a lot of references to mobile controls that adapt their HTML to the specific device requesting the page. Since I would like this app to be viewable on as many as devices as possible, it seems like it would be better to use the mobile controls rather than just create a smaller version of a web form. Apparently VS2008 and up开发者_高级运维 do not include the mobile control templates, but you can download and install them separately. I did, but when I tried to create a test page I get a server error complaining that the assembly "System.Web.Mobile" could not be found. I double checked in my references and that assembly is included in the project. The file System.Web.Mobile.dll is also on the server running the app.

Is there something that I am doing wrong, or is developing a mobile web app in this way using VS2010 not possible?

Thanks,

Mike


I didn´t found Mobile Web Forms templates for 2010 (for 2008). But Mobile Controls is a old and unused technology, you should use MVC.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜