Search a CodePlex project

Detect All Mobile Devices. Provide Optimised Content
Learn how to use the properties and values provided by 51Degrees
Browse included devices and find out what they're capable of
Understand how server side device detection can enhance your web site

Project Description

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 operational summary.

Guides and Documentation

Example Projects

Get in Touch

Other API Languages

51Degrees Device Detection - Key Features

Single web address for both traditional, smartphone and tablet web sites.
Includes IsMobile, Device Type and Screen Size properties plus many more.
Free for commercial use (Mozilla Public License).
Written specifically for the .NET platform.
Integrates easily with your existing web site via NuGet install.

Not affiliated with Microsoft and CodePlex
To remove your project or any question, please contact us: [email protected]