asp.net Mobile
-
Hi Fellows I am wondering how can I create a mobile website in VS2010 asp.net C#. I have been looking through the VS2010 and haven't found a way to create a Mobile Website project. I haven't found a good resource that could explain me the components I need to download. If you could help me I would really appreicate it. Thanks
-
Hi Fellows I am wondering how can I create a mobile website in VS2010 asp.net C#. I have been looking through the VS2010 and haven't found a way to create a Mobile Website project. I haven't found a good resource that could explain me the components I need to download. If you could help me I would really appreicate it. Thanks
I dont know if you have checked these links earlier but if you havent, you can learn some bits and pieces from each one :) (The asp.net official page for mobile) http://www.asp.net/mobile[^] http://www.geekpedia.com/tutorial120_Introduction-to-ASP.NET-Mobile.html[^] http://www.w3schools.com/dotnetmobile/default.asp[^] http://msdn.microsoft.com/en-us/library/ms178619.aspx[^] http://www.c-sharpcorner.com/UploadFile/krishnasarala/5781/[^]
-
Hi Fellows I am wondering how can I create a mobile website in VS2010 asp.net C#. I have been looking through the VS2010 and haven't found a way to create a Mobile Website project. I haven't found a good resource that could explain me the components I need to download. If you could help me I would really appreicate it. Thanks
Hi, Hope i hear you right, Creating a Mobile website works the same way as creating a desktop computer/laptop website. you just have to limit the max-width: 240px (maximum width = 240) and the height can be anything. That way you prevent your site from displaying with a horizontal scroll bar. Also, no Javascript/JQuery, Flash is allowed on a mobi site. The rest will work the same way e.g. webservies, postbacks, database (linq-sql or TSql) and whatever else.
-
Hi, Hope i hear you right, Creating a Mobile website works the same way as creating a desktop computer/laptop website. you just have to limit the max-width: 240px (maximum width = 240) and the height can be anything. That way you prevent your site from displaying with a horizontal scroll bar. Also, no Javascript/JQuery, Flash is allowed on a mobi site. The rest will work the same way e.g. webservies, postbacks, database (linq-sql or TSql) and whatever else.
Thanks guys, for providing me the helpful resources. I went through a couple of listed sites and and Microsoft has mentioned that the even the Framework 4.0 is not updated enough to develop websites for Android, Iphone and blackberry. The "Request.Browser.IsMobileDevice" returns a value of False when i were to view a simple Default.aspx page. Is getting values from the user agent enough to tell if a website is Desktop or Mobile? If so why there are 51Degree.mobi framework. Also, how do i generate the dynamic width for different phones rather than a fixed width. Thanks for your cooperation.
-
Thanks guys, for providing me the helpful resources. I went through a couple of listed sites and and Microsoft has mentioned that the even the Framework 4.0 is not updated enough to develop websites for Android, Iphone and blackberry. The "Request.Browser.IsMobileDevice" returns a value of False when i were to view a simple Default.aspx page. Is getting values from the user agent enough to tell if a website is Desktop or Mobile? If so why there are 51Degree.mobi framework. Also, how do i generate the dynamic width for different phones rather than a fixed width. Thanks for your cooperation.
netJP12L wrote:
Also, how do i generate the dynamic width for different phones rather than a fixed width.
If you want that, it depends which mobile service providers (network) your target mobile users are using, other providers will give you something called User Profile/Agent that gives you basic information about the users handset e.g. make, dimensions, browser, and more like i said it depends. Normally when your site is requested, you can request the user profile/agent from the network and then resize your site according to the info that you get back (i.e dimensions). Gud Luck :)