Wednesday, March 10, 2010
Download & Try It Now

Seamless Integration With Your Existing Microsoft .NET Web Site   Open Source & Free
 
Use a Single Web Address For Both Current & Mobile Web Sites   The Same Device Data Source Used by the BBC, Bank of America, MySpace.com and Admob

Version 0.1.7.4
 TitleCategoryDescriptionModified Date 
.NET Mobile API SourceSourceComplete Visual Studio 2008 solution including all source code and the mobile device detector example.3/8/2010Download
.NET Mobile API InstallInstallExecutable to install example Mobile Detector web site. See Installation Instructions for step by step guide.3/8/2010Download
.NET Mobile API EnhanceEnhanceEnhance an ASP web site to detect mobile devices by adding these files and following the step by step guide.3/8/2010Download
Documentation
Overview

We're aiming to provide the simplest and most reliable method for .NET developers to integrate mobile devices with their existing and future web sites, which is why we've used WURFL as the primary source of device information. Operated by WURFL-Pro (the company founded by Luca Passani, the WURFL inventor), the WURFL device database is widely-accepted as the most advanced and up-to-date mobile device database available. More information is available here.

We have created an add-in for .NET web sites that'll automatically determine if a mobile device is accessing the site and redirect it to mobile specific content. Our Application Programming Interface (API) utilises the useragent string provided in the header of each HTTP request to identify the browser and mobile device making the request. The device database contains a useragent string for each known mobile device. When a new request is received, the API matches the useragent string to one in the database - either through a direct match or by finding the closest.

Once integrated into a web site, the API wil parse device data and store it in memory during the first request. Every time a mobile page is requested, .NET standard browser capabilities are enhanced using the mobile device data to override original values. Parameters such as screen width, screen height, colour depth, brand and model will be considerably more accurate, enabling you to create a web site that's more compelling and more reliable. In technical terms, when the Request.Browser object is queried, mobile device data is returned. It's that simple.

The following code placed in the Page_Load event returns the mobile device manufacturer and model details:

LabelManufacturer.Text = Request.Browser.MobileDeviceManufacturer;
LabelModel.Text = Request.Browser.MobileDeviceModel;

With the .NET Mobile API installed and WURFL providing mobile device data, these calls will return extremely accurate data when compared to the standard browser information provided by Microsoft.

Minimum Requirements

All versions require the .NET Framework 2.0 or greater.

Install - Internet Information Services (IIS) 6.0 or greater. The installation has been tested on Windows Server 2003 and Windows XP.

Source - You'll need Visual Studio 2008 to open the solution and projects provided. Alternatively, create a new solution and projects in Visual Studio 2005, then add the folders and files.

You'll find it useful to install at least one of the Mobile Device Emulators found here.

Background

Some portions of the API are based on code originally developed by Paulo Gomes.

The .NET Mobile API has been used in a small number of production web sites. You should not consider the API to be truely "stable" until released as a major version marked as such on this web site.

We would like to hear about your experiences using the API either via our forum or by contacting us directly.

Licensing 

The .NET Mobile API is licenced under the Mozilla Public License Version 1.1.

Location & Mapping Demonstration
Create Mobile Web Sites To Extend Your Business
 
   



Major Features

Multi Threaded - Optimised matching algorithms to use multiple CPUs when available.
 
Memory Efficient - Removed duplicate strings through the use of lookup tables to significantly reduce memory consumption.
 
Quick & Accurate - Uses segmentation and edit distance algorithms to find mobile devices quickly and accurately
 
Seamless Deployment - Redirect mobile devices to mobile specific content without altering existing web pages.
 
Recording - Optional functionality to record new devices not held in the device database and cache them for quick future retrieval. Send new device information to a central web site for inclusion in future device databases.


Find out more about...
The Most Exciting Mobile Community on the Planet
The Most Exciting Mobile Community on the Planet
Privacy Statement  |  Terms Of Use
Copyright 2009 by 51 Degrees Mobile Experts Limited