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
A

Amimpat

@Amimpat
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Detecting mobile phones & their screen sizes.??
    A Amimpat

    Please take a look at http://51degrees.codeplex.com. It is an ASP.NET open source module which detects mobile devices and provides auto redirection to mobile optimized pages when request is coming from mobile device. It makes use of WURFL mobile device database. For redirection there is no need to modify existing ASP.NET web application pages. Sample web.config configuration for mobile device detection based on MobileDeviceManufacturer property.Both WURFL capabilities and ASP.NET Browser properties can be used with the property attribute.

    <redirect firstRequestOnly="false"
    mobileHomePageUrl="~/Mobile/Default.aspx"
    timeout="20"
    devicesFile="~/App_Data/Devices.dat"
    mobilePagesRegex="/[Apple|RIM|Nokia|Mobile]/">
    <locations>
    <location url="~/Apple/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="Apple"/>
    </location>
    <location url="~/RIM/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="RIM"/>
    </location>
    <location url="~/Nokia/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="Nokia"/>
    </location>
    </locations>
    </redirect>

    Mobile help tutorial question

  • Mobile Web Application
    A Amimpat

    Hello Use standard ASP.NET website project for creating mobile website. Important thing here is to detect request, if it is from mobile device than redirect user to mobile compatible pages instead of standard website. For accurate and easy mobile device detection use http://51degrees.codeplex.com[^] It is an ASP.NET open source module which detects mobile devices and provides auto redirection to mobile optimized pages when request is coming from mobile device. It makes use of WURFL mobile device database. Sample web.config configuration for redirecting users to different mobile pages based on MobileDeviceManufacturer property. You can create your own custom rules for redirection based on other mobile properties.

    <redirect firstRequestOnly="false"

              mobileHomePageUrl="~/Mobile/Default.aspx"
    
              timeout="20"
    
              devicesFile="~/App\_Data/Devices.dat"
    
              mobilePagesRegex="/(Apple|RIM|Nokia|Mobile)/">
    
      <locations>
    
        <location url="~/Apple/Default.aspx">
    

    <add property="MobileDeviceManufacturer" matchExpression="Apple"/>

        </location>
    
        <location url="~/RIM/Default.aspx">
    

    <add property="MobileDeviceManufacturer" matchExpression="RIM"/>

        </location>
    
        <location url="~/Nokia/Default.aspx">
    

    <add property="MobileDeviceManufacturer" matchExpression="Nokia"/>

        </location>
    
      </locations>
    
    </redirect>
    
    Mobile question csharp asp-net
  • Login

  • Don't have an account? Register

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