Way to do content adaptation to mobile

Since you’re using MVC I would highly recommend using jquery mobile as well. I’ve recently worked on a project using MVC, Razor, FiftOne.Foundation and jquery mobile. Using razor views you can change the view being displayed by detecting if the browsers user agent reports that it’s a mobile device. This way you don’t have to change URLs MVC simply renders a different view.

I’ll have to look for the tutorial I found and post a link to it

edit:
Found it: Using 51Degrees.Mobi Foundation for accurate mobile browser detection on ASP.NET MVC 3

Leave a Comment