locked
mobile application in vs 2010 RRS feed

  • Question

  • User627014225 posted

    Hi all,

    I want to create mobile application in visual studio 2010 with asp.net 4.0. Do i need to install sdk ? What are pre requisites ?  any tutorial for this ?

    Regards,
    Asif Hameed 

    Wednesday, May 12, 2010 7:34 AM

All replies

  • User1943143334 posted

    Hi,

     There are two types of Mobile applications -  Web Application and Device Application(Installs in Phone)

    To create Web Applications.....

    Create a web application in ASP.NET 4.0. It works absolutely fine in HTML browser capable mobile phones.

    To Create Device Applications....

    Microsoft is providing excellent tool called "Windows Phone Developer Tools CTP". U can download this tools from the below link..

    http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=cabcd5ed-7dfc-4731-9d7e-3220603cad14

    One more IDE for Windows Phone development, " Visual Studio 2010 Express for Windows Phone". U can download from the below link..

    http://www.microsoft.com/express/Phone/

     

    Hope it helps u..

     

    Monday, May 17, 2010 9:39 AM
  • User1135281112 posted

    Hello

    To create asp.net mobile application in VS 2010 not need install any SDK. You can do following

    - Create standard ASP.NET website with standard "Web Forms"

    - Design the content for your mobile pages. Avoid images or use light weight 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 .NET API 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 http://51degrees.mobi/Forum/tabid/92/forumid/3/postid/114/scope/posts/Default.aspx#114

    Wednesday, May 26, 2010 3:49 AM
  • User-409271939 posted

    Hi

    Plese tell me how to develop mobile application in asp.net 2010.

    Thursday, September 9, 2010 8:52 AM
  • User1943143334 posted

    Hi,

      Create a general ASP.NET web application. It works absolutely fine in all Mobile Browsers.

    For more information, check the following link

    http://roopeshreddy.spaces.live.com

     

    hope it helps u...

    Thursday, September 9, 2010 10:44 AM
  • User1805528910 posted

    Hello friend

    You can check it following mention link. I also have same problem.

    http://forums.asp.net/t/1624605.aspx

    Saturday, November 20, 2010 7:52 AM
  • User1135281112 posted

    Hello

    51degrees is on codeplex now. Please check http://51degrees.codeplex.com.

    Below is the sample web.config how easily you can configure multiple redirection based on MobileDeviceManufacturer property without modifying any of your existing website pages.

     

    <redirect firstRequestOnly="true"
    mobileHomePageUrl="~/Mobile/Default.aspx"
    timeout="20"
    devicesFile="~/App_Data/Devices.dat"
    mobilePagesRegex="/[Apple|RIM|Nokia|Mobile]/">
    <locations>
    <!--Send iphone to their own home page.-->
    <location url="~/Apple/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="Apple"/>
    </location>
    <!--Send blackberry to their own home page.-->
    <location url="~/RIM/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="RIM"/>
    </location>
    <!--Send nokia to their own home page.-->
    <location url="~/Nokia/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="Nokia"/>
    </location>
    </locations>
    </redirect>




     

    Friday, November 26, 2010 12:15 AM