IIS/ASP/ASP.net: How to structure web-site to expose mobile version

浪子不回头ぞ 提交于 2019-12-04 07:02:41

In mvc you can just submit mobile views by overriding the view engine. We created an iphone version of our site in about 3 days.

http://www.hanselman.com/blog/ABetterASPNETMVCMobileDeviceCapabilitiesViewEngine.aspx

You can use virtual directories in IIS to point both applications to the same folders so you only have one copy of your application. This is even easier if your model & controller code is in a separate from your code to produce the view.

You should check out this tool available through the MS Web Platform Installer

URL Rewrite 2.0

Application Request Routing 2.5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!