asp.net网站可以在移动浏览器中运行吗?
问题描述:
我正在asp.net开发一个网站,但我有点不确定我的网站是否会在移动浏览器中运行。所以请指导我如何有效地发展。
谢谢
Prafulla
I am developing a website in asp.net but I am little bit confuse that whether my site will run in mobile browser or not. So please guide me how can I develop effectively.
Thanks
Prafulla
答
在移动浏览器中显示您的网站没有问题
正常开发网站
there is no problem to display your website in mobile browser
develop website as you do normally
它会显示,但可能不是您想要的你可以做的一件事就是当你的页面加载时,检查请求是否来自移动设备,如果是这样的话,请相应地继续。
为了更好地理解这一点,请看这个链接并在那里参考我的答案。
如何在asp.net或移动版网站上创建移动网站 [ ^ ]
问候..
It will display,but may not be as you want.One thing you can do is at the time your page loads,check whether the request came from mobile device,if so than proceed accordingly.
For better understanding on this,see this link and refer to my answer there.
how to create mobile website in asp.net or mobile version of website[^]
Regards..