<system.web> <httpRuntime useFullyQualifiedRedirectUrl = "true" /> </system.web>
public void Page_Load(Object sender, EventArgs e) { if (Request.Browser["IsMobileDevice"] == "true") { Response.Redirect("_LayoutMobile.cshtml"); } else { Response.Redirect("_Layout.cshtml");
Quote:Ok the second question is how test my asp.net (IIS) application on android or windows phone operating system ? When I start my project on my computer ( from Visual Studio) he open a internet explorer site for log in my application, when I test this localhost on Windows Mobile 6 emulator doesn't work (the emulator is on the same network device).
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)