I have a website developed in ASP.NET MVC. Now, I am looking forward to getting
ID: 650596 • Letter: I
Question
I have a website developed in ASP.NET MVC.
Now, I am looking forward to getting up a mobile interface for it. My knowledge in this regard isn't that great, so I will explain what is needed to be done. It's much like on the lines of StackOverflow or Programmers and following are the few points that need to be addressed.
Much like Stack Overflow, if a site is visited from mobile, auto-detection should happen and the mobile version should be displayed.
Do I need to setup some sub-domain like m.mysite.com and should I have the mobile site installed for this domain (SE sites don't do this now but Facebook does that)
Lastly, How to design the website that is easily readable on all sized of screens for mobile.
Explanation / Answer
Re: 1 - Shouldn't (necessarily) be your responsibility to detect mobile devices, as long as yu use the @media type correctly in your stylesheet.
Re: 2 - That would depend on whether the difference between what you want to serve mobile devices as opposed to "normal" viewers is large. If your main site is heavy on JavaScript and you want to serve your mobile users a much simpler view, use a separate subdomain. If it's pretty much the same content, you just want the presentation to be different, you don't need a subdomain, just a different stylesheet (or parts thereof).
Re: 3 - Follow best practices, use em font sizes rather than px, etc... beyond that would take quite a while to answer this part ;-)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.