x First time here? Check out the FAQ
Join us a the Umbraco event of the year - get your Codegarden 14 early bird ticket today
Thomas Holmes started this project on Monday, April 11, 2011 it's current version is .

Package Info

Project Owner/Creator


Thomas Holmes

1posts 46karma

Project Compatibility

No compatible versions have been reported, be the first!

View Details Report Compatibility

Project Information

Project owner:
Thomas Holmes
James Rosewell  Piran Watson 
Monday, April 11, 2011
Is Stable:
Project is stable
Current version
data  mobile  detection  51  51degrees  51degrees.mobi  device 

51Degrees.mobi - Mobile Device Detection and Redirection

Project Description

This project, called "Foundation", is just one of 51Degrees.mobi components for mobile web development. It’s provided as a .NET open source class library that detects mobile devices and browsers, enhancing the information available to .NET programmers. Using 51Degrees.mobi Device Data, accurate screen sizes, input methods, plus manufacturer and model information are all available. Mobile handsets can optionally be redirected to content designed for mobile devices. Smart phones, tablets and feature phones are all supported.

Mobile Optimized Web Sites

Foundation detects the presence of a mobile device, and enables the web request to be directed to web pages designed for mobile. 51Degrees.mobi other products help ASP.NET developers rapidly create fast mobile web pages supporting tablet devices, high end handsets, and basic feature phones. Learn More & Free Trial.

Accurate Device Data

We now maintain and supply our own device data so that the Foundation has accurate data for nearly all devices, browsers and operating systems that can be updated weekly without any intervention. Our device data can be used to find screen sizes, input methods and even the best size of a button for that particular device. Learn more about our device data.

How does it work?

Http requests are intercepted by an additional HttpModule before the page handler starts to process the page. The first task of the module is to detect the device making the request and enhance the default properties provided by Microsoft by 51Degrees.mobi Device Data. For example; the Request.Browser.ScreenPixelsWidth property will return the precise value for the mobile device. Finally the module determines if the request should be sent to a mobile home page and performs the redirection. The web.config file can be used to control how detection and redirection operate for your specific web site. For example; some sites may wish to redirect only the very first request to a mobile home page enabling the user to navigate to the traditional home page.

To find out more try downloading our detection example web site or reading the operational summary.



Tags: 51Degrees, Mobile, Device, Detection


Package Files


Archived Files