This project, called "Foundation", is just one of 51Degrees 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 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 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 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