将Asp.net Web应用程序转换为移动Web应用程序 [英] Convert Asp.net Web Application to Mobile web application

查看:292
本文介绍了将Asp.net Web应用程序转换为移动Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



任何人都可以让我知道哪种方法是将asp.net Web应用程序转换为移动Web应用程序的最佳方法.

在此先感谢.

Hi,

Can anyone please let me know which is the best approach to convert an asp.net web application to mobile web application.

Thanks in Advance.

推荐答案

常规的asp.net网站在所有Mobile浏览器中都可以正常运行. asp.net的优点是,它将根据请求的设备呈现内容.

如果您确实想要移动设备的其他站点,请尝试为移动设备创建一个新站点.但是您需要检测该请求是来自移动设备还是桌面Web浏览器.

有关更多信息,请检查以下链接
ASP.NET中的移动开发 [最新的浏览器配置文件 [如何:将移动页添加到ASP.NET [ ^ ]

..并在此处 [
General asp.net website works absolutely fine in all Mobile browsers. The beauty of asp.net is, it will render the content based on the requested device.

If you really want a different site for Mobile device, try creating a new site for Mobile devices. But you need to detect whether the request is from Mobile device or Desktop web browsers.

For more information, check the below links
Mobile Development in ASP.NET[^]
Latest Browser Configuration Files[^]

How To: Add Mobile Pages to Your ASP.NET [^]

..and also check out similar discussion here[^]


任何基于html的网站都可以通过移动设备访问.最快的方法是使用现有的框架,例如Bootstrap: Bootstrap·世界上最流行的移动优先和响应性前端框架. [ ^ ]
Any html-based site can be mobile-friendly. The quickest way is to use an existing framework like Bootstrap: Bootstrap · The world''s most popular mobile-first and responsive front-end framework.[^]


这篇关于将Asp.net Web应用程序转换为移动Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆