Note that there are some explanatory texts on larger screens.

plurals
  1. POMobile Device Browser File vs. WURFL for ASP.NET
    primarykey
    data
    text
    <p>I am working on a commercial web application that has a separate mobile browser version intended for the more capable devices (BlackBerry, iPhone, Android, etc). I don't want to do simple User Agent contains style logic and was looking at the various detection libraries. It seems like WURFL and Mobile Device Browser File are my best options.</p> <p>The <a href="http://mdbf.codeplex.com/" rel="noreferrer">Mobile Device Browser File</a> (MDBF) project at CodePlex exposes information through the <a href="http://msdn.microsoft.com/en-us/library/system.web.httprequest.browser.aspx" rel="noreferrer">Request.Browser</a> property. Also, it has a Microsoft Public License (Ms-PL). <a href="http://blogs.msdn.com/jongallant/archive/2009/04/03/mobile-browser-detection-in-asp-net.aspx" rel="noreferrer">Mobile Browser Detection in ASP.NET</a> mentions "data for MDBF comes from WURFL" and <a href="http://www.hanselman.com/blog/MixMobileWebSitesWithASPNETMVCAndTheMobileBrowserDefinitionFile.aspx" rel="noreferrer">Mix: Mobile Web Sites with ASP.NET MVC and the Mobile Browser Definition File</a> confirms MBDF is "created from a database from many sources, including the popular WURFL mobile device capabilities database."</p> <p>51degrees has a <a href="http://51degrees.mobi/Products/NETMobileAPI/tabid/86/Default.aspx" rel="noreferrer">.NET Mobile API</a> that uses the <a href="http://wurfl.sourceforge.net/" rel="noreferrer">WURFL</a> data files and also populates <a href="http://msdn.microsoft.com/en-us/library/system.web.httprequest.browser.aspx" rel="noreferrer">Request.Browser</a>. It is licensed under the Mozilla Public License Version 1.1. and claims:</p> <blockquote> <p>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</p> </blockquote> <p>Since the official <a href="http://sourceforge.net/projects/wurfl/files/WURFL%20.NET%20API/1.0/WURFL.NET-1.0.zip/download" rel="noreferrer">WURLF .NET API</a> is distributed with a GPL License, so it is a non-starter for my project.</p> <p><a href="http://www.codeproject.com/KB/aspnet/WURFLImplementations.aspx?msg=2917384" rel="noreferrer">WURFL ASP.NET Implementations</a> compares ASP.NET implementations of WURFL, but this is over a year old (2009-01-16 - Article submitted) and doesn't mention the 51degrees API or MDBF.</p> <p>Can I get any feedback on which library to use.</p> <ul> <li>How often are these data files updated?</li> <li>Is it better to use feature detection that user agent parsing?</li> <li>Is an online service (e.g. <a href="http://www.handsetdetection.com/" rel="noreferrer">Handset Detection</a>) easier that update data files?</li> <li>Any other useful input.</li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload