开发者

MVC3 application custom route

I want to create a custom route that will see that if a coming request is from IPhone. If so then redirect to view 1 otherwise redirect to view2. How can I do it using MVC3 application.

Regards,开发者_开发百科 Asif Hameed


I think this answers your questions:

Format ASP.Net MVC app for desktop and mobile browser


Good article here: How to Add Mobile Pages from asp.net, about 3/4 of the way down specifically for doing this in mvc, also includes routing examples.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜