The fastest, most accurate tools. Deployed by millions.
     Request.Browser properties will be populated with data from 51Degrees Lite Device Data. Other features
     include automatic image optimisation, monitoring of network conditions and client side feature detection.

There is a newer version of this package available.
See the version list below for details.
Install-Package 51Degrees.mobi-WebMatrix -Version
dotnet add package 51Degrees.mobi-WebMatrix --version
<PackageReference Include="51Degrees.mobi-WebMatrix" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add 51Degrees.mobi-WebMatrix --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Important: Upgrading users of Enhanced Data need version 3.1 format data.      
Device detection algorithm is over 100 times faster than version 2. Regular expressions and levenshtein distance calculations are no longer used.
The device detection algorithm performance is no longer limited by the number of device combinations contained in the dataset.
Two modes of operation are available:
 Memory – the detection data set is loaded into memory and there is no continuous connection to the source data file. Slower initialisation time but faster detection performance.
 Stream – relevant parts of the data set are loaded into memory when required and cached to improve performance. Rapid initialisation time but approximately 50% slower detection performance. This mode is used when operated in a web environment.
JPG and PNG format images can be optimised to improve performance.
Bandwidth and response times can be monitored to understand in real time the end users experience.
Feature detection is used to override properties in the data set to provide details such as iPhone model or the screen orientation. These values become available to the server from the 2nd request from the device onwards.
Multi-threading is no longer used within the matching algorithm.
When used in a web environment the detection results are stored within the session when available and are no longer cached separately.

-- Changes between version --

1. Modified TopDevices.cs in the Web UI namespace so that duplicated devices within the same HardwareFamily are removed. This results in a nicer looking user interface when multiple models in the same family are present.
2. Fixed Source.Dispose throwing an exception if a temporary data file could not be deleted. This should result in less temporary files being created.
3. When working in Stream mode the temporary file must be present for the data set to be created. This addresses a rare situation where after the temporary file is checked but before the data set is created another process could delete the temporary file resulting in a Lite data set being created.
4. WebProvider has been modified to augment Request.Browser with 3 additional pieces of information: MatchMethod, MatchDifference and MatchSignatureRank. All 3 can be used to check the level of confidence of the detector. I.e. when MatchMethod contains ‘exact’ the detector is confident that the user agent string in question corresponds to the matched device. If on the other hand the MatchMethod contains ‘none’ then the user agent is most certainly fake. For more information on all match methods please see: https://51degrees.com/support/documentation/pattern
5. Added the response text from the server to the error log when a data file update fails. This can help provide more information about why automatic updates have failed.
6. Results where Device-Stock-UA, X-Device-User-Agent or X-OperaMini-Phone-UA are present no longer generate an exception when interrogating signature rank.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 3,106 11/13/2018 873 6/4/2018 939 12/4/2017 2,701 9/13/2017 1,453 6/2/2017 1,369 3/20/2017 779 12/15/2016 821 11/1/2016 1,002 9/14/2016 803 8/18/2016 830 6/22/2016 907 6/21/2016 938 5/23/2016 907 4/21/2016 909 4/4/2016
3.2.7-beta 947 2/12/2016
3.2.6-beta 820 12/7/2015 1,416 10/23/2015 964 10/16/2015 929 10/13/2015 891 10/12/2015 1,488 9/3/2015 1,139 7/21/2015 1,293 6/2/2015 1,457 3/20/2015 1,146 2/23/2015 3,080 1/8/2015 917 1/7/2015 932 12/4/2014 1,060 10/6/2014 1,824 7/10/2014 1,017 6/25/2014 1,118 6/24/2014 1,056 6/5/2014 1,010 5/27/2014
Show less