Question

I have an ASP.NET MVC4 site with mobile content. When I deploy this on my local development machine, the mobile content is what I see in Opera Mobile when I go to localhost/mysite. However, when I deploy this to my actual server, I see the desktop version on Opera Mobile. I get the same desktop view when visiting the site on my Windows Phone.

I am assuming this is not a DisplayModeProvider issue as site works as expected on local host. What should I be looking at?

Thanks.

Était-ce utile?

La solution

Installed .NET 4.5 RC fixed this problem. I may have missed this somewhere in the documentation that ASP.NET MVC4 requires .NET 4.5.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top