How to detect a mobile device in ASP.NET

This ASP.NET tutorial explains how to detect a mobile device in ASP.NET.

ASP.NET Developers can detect a mobile device using the following ASP.NET code:

if (Request.Browser.IsMobileDevice)

If you want to host mobile ASP.NET 4 application then you will need ASP.NET 4.0 hosting provider which supports .NET [...]