Visual Studio 2010的WAP网站开发

          关于Visual Studio 2010的WAP网站开发,我归纳一下吧,来自官方网站的消息,Visual Studio 2010不支持对WAP网站的直接开发,可以使用早期版本的 Visual Studio。可以使用早期版本的 Visual Studio。,如果要开发只能使用较低Visual Studio2005/2008的版本,网上关于VISUAL STUDIO 2010的如何调试,经测试,可能与系统安装过VISUAL STUDIO 2008的老版本系统有关。

Mobile application development is still supported in earlier versions of Visual Studio, such as Visual Studio 2008. For more information about smart device projects, seeWindows Mobile Developer Center andSmart Device Development in Visual Studio 2008

NoteNote

Visual Studio also supports a different kind of device development known as Mobile Web development with ASP.NET.Mobile Web development refers to the development of mobile Web applications that run on a Web server and are rendered in different formats on a variety of browser-equipped mobile devices. For more information about Mobile Web development, see ASP.NET Web Sites for Mobile Devices.

 

不过,在VS2010上增加WAP模板就可以了,有人搞没有,当然有,其实就是缺少WAP模板而已。找找就行了。感谢

The same thanks is also for "菩提樹下的楊過. Net”,Here's his blog (Chinese version)——

估计是国人整理出来的模板吧。

 

Mobile Wap Development Template Tool

 

http://visualstudiogallery.msdn.microsoft.com/dfb244a8-c1be-4445-ab95-530e606241ca/?SRC=Home

 

In the end, after download the exe file, please release it and double click it to install the vsi file.
If you want to view the page with the wap-suppoting Add-in, please comment these lines below, for details please see the web.config in your project.


 

<browserCaps>
<result
type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>


 

<use
var="HTTP_USER_AGENT"/>
preferredRenderingType =
"wml11"
preferredRenderingMime =
"text/vnd.wap.wml"
preferredImageMime =
"image/vnd.wap.wbmp"

 

安装包里面包含一个Installer.vsi的程序,双击即可安装。(已经做好的模板宏)

重新启动VISUAL STUDIO 2010。怎么还没有,你还是得选择.NET 3.5才有,如图。

其他的你参考http://wenku.baidu.com/view/ac64f50103d8ce2f006623f5.html

=====

不过就开发而言,还是按照微软的方法,干脆同时安装VISUAL STUDIO 2008和VISUAL 2010即可,多好。

 

看样子VS还是不如JAVA系列的移动开发,很多人都看好微软有最好的工程师和未来的规划人才而已。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值