locked
What is the right way to create a mobile site on asp.net? RRS feed

  • Question

  • User-842092983 posted

    I have my website created on asp.net and upgraded to 3.5

    Now I need provide mobile site to some customer, I have no idea where to start. It seems the asp.net support on mobile web site is not quite clear. There are some introduce and guide, but they are not clear and some links are broken.

    I just want a most easy way to create a mobile version of my web site, any suggestion?

     

    thanks

    Tuesday, January 18, 2011 8:04 PM

Answers

All replies

  • User1943143334 posted

    Hi,

    ASP.NET websites renders pertectly fine in all Mobile Browsers[HTML Compatible]. By adding some META tags, general asp.net webiste displays perfectly fine.

    <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=1.5;" />
    <meta name="HandheldFriendly" content="true" />


     

    For more information, check the following link.

    http://roopeshreddy.wordpress.com/2010/07/25/mobile-development-in-asp-net/

     

    Hope it helps u...

    Tuesday, January 18, 2011 10:31 PM
  • User-842092983 posted

     So you are saying that "System.Web.Mobile" was created with no meaning?

    Wednesday, January 19, 2011 1:32 AM
  • User-333223682 posted

    Hi,

    Initially, there are some tips to create mobile website on asp.net. You should follow these rules:

    - Your mobile site should be XHTML compliant.

    - Reduce Image file size and image resolution.

    - Don't use Flash animation and avoid multimedia videos.

    - Create simple navigation.

    - Use CSS based coding.

    - Your website content for mobile should be as concise and punchy as possible.

    - Define “meta” and “meta” name="HandheldFriendly".

    I’m sure; these points would be helping you to develop excellent mobile website on asp.net.

    Wednesday, January 19, 2011 4:37 AM
  • User1943143334 posted

    Hi,

    The Namespace System.Web.Mobile is created for WAP enabled devices. Now a days, all Mobile Devices has HTML Comptaible browsers. So general ASP.NET web application works absolutely fine.

    For more information, check this link,

    http://geekswithblogs.net/ranganh/archive/2008/04/01/mobile-web-forms-in-visual-studio-2008.aspx

     

    Hope it helps u... 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 19, 2011 8:15 AM
  • User1648350404 posted

    You can create responsive design(using CSS3 media queries) to adapt the layout to the environment that it is being viewed in and works with different resolutions. It'll make your site with mobile, tablet and desktop browsers compatible.

    See following how to implement:

    http://t.co/SkKR6tuO

    Thursday, March 1, 2012 1:55 AM