Last post May 11, 2010 10:15 AM by CGSJohnson
Apr 22, 2010 09:01 AM|J-Buzz|LINK
I am wanting to design a web application (ASP.NET with vs 2010 and the 4 framework) that should work on mobile devices web browsers as well. Do I have to write 2 seperate web UI's or can I write 1, that is styled differently for desktop browsing vs mobile
I am new to trying to develope for a mobile device, and a push in the right direction would be a big help. I have googled but must not be using the right terms as what I get is not very good.
May 05, 2010 05:44 PM|CGSJohnson|LINK
The regular UI will not look the same in the reduced space of the mobile devices. I think that what most public-facing web sites do is detect the browser and then re-direct to a mobile site, which can be just a sub-folder off of your main site. Here are
Hope that it helps.
May 09, 2010 08:58 AM|matrixvibe|LINK
- No need to create seperate website. You can added mobile optimized pages to your existing website.
- Design the content for your mobile pages. Avoid images for fast loading. Avoid complex html structure. Stick to basics
- Add a detector process, which detects from where request is coming. If it is mobile than redirect user to mobile optimized pages.
- Different mobile has different capabilities (e.g screen size, image support, html support, xhtml support etc.). So it is very important that you know what type of device is trying to access your website and accordingly render required HTML/XHTML supported
by the mobile device.
To fetch mobile capabilities use
http://www.51degrees.mobi/Products/NETMobileAPI/tabid/86/Default.aspx it is a free ASP.NET mobile api which helps to integrate mobile devices with existing and future web sites. It makes use of WURFL device database which is widely-accepted as the most
advanced and up-to-date mobile device database available.
It has add-in for .NET web sites that'll automatically determine if a mobile device is accessing the site and redirect it to mobile specific content. You do not have to update any of your existing asp.net pages for same.
For more details have a look at
May 11, 2010 08:28 AM|J-Buzz|LINK
Thanks for the ideas, both where helpful.
I have a basic site going, but see that the MobiePage object is depricated in .net 4.0? Anyone know of a good site that describe creating mobile websites for the 4.0 .net framework? I have found that information hard to find. Which seems to be because
they have not released it yet?? Or some new sdk is coming soon?? Anyone have some information on this?
May 11, 2010 10:15 AM|CGSJohnson|LINK
Just design the site, as if you were designing a regular web site (using the regular .Net framework)...avoid JS as some mobile devices might not support it, without using the mobile controls, just use CSS to style it for the limited real estate of the mobile