Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. asp.net Mobile

asp.net Mobile

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestionlearning
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    netJP12L
    wrote on last edited by
    #1

    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

    O M 2 Replies Last reply
    0
    • N netJP12L

      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

      O Offline
      O Offline
      Orcun Iyigun
      wrote on last edited by
      #2

      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/[^]

      1 Reply Last reply
      0
      • N netJP12L

        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

        M Offline
        M Offline
        Morgs Morgan
        wrote on last edited by
        #3

        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.

        N 1 Reply Last reply
        0
        • M Morgs Morgan

          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.

          N Offline
          N Offline
          netJP12L
          wrote on last edited by
          #4

          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.

          M 1 Reply Last reply
          0
          • N netJP12L

            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.

            M Offline
            M Offline
            Morgs Morgan
            wrote on last edited by
            #5

            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 :)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups