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.
See the version list below for details.
Install-Package 51Degrees.mobi-WebMatrix -Version 22.214.171.124
dotnet add package 51Degrees.mobi-WebMatrix --version 126.96.36.199
<PackageReference Include="51Degrees.mobi-WebMatrix" Version="188.8.131.52" />
paket add 51Degrees.mobi-WebMatrix --version 184.108.40.206
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.
Note that this assembly is version 220.127.116.11. This release is called 18.104.22.168 due to an error in a previous Nuget release.
-- Changes between version 22.214.171.124 and 126.96.36.199 --
1. When used with MVC or Ajax some fringe cases have been reported where the HttpContext did not exist. The structure of the WebProvider has been changed to only use an HttpRequest object and not use the HttpContext. Further it does not rely on the presence of an IDictionary to persist the results of device detection across the request if one can’t be found from the Request or the HttpContext.Current property.
2. The Detection.Entities.Stream.Source class no longer directly logs if a temporary file cannot be deleted. Instead the exception is thrown up. This change was made for other assemblies using this code that did not reference Event.Log.
3. Fixed a bug when dealing with null useragents introduced in 188.8.131.52.
- Microsoft.Web.Infrastructure (>= 1.0.0)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.