C# & ASP.NET - April 2014

Detecting request from mobile device

Take control over what is and what is not mobile device for your web app
Microsoft made is easy to detect whether request to your web application is coming from mobile device or not by adding a property to Request class. Usage of this is Request.Browser.IsMobileDevice. This works pretty fine for most of mobile devices, but this property is based on list of mobile browsers which is configured in .NET framework itself. ... read more