51Degrees.mobi-WebMatrix 3.2.3.2

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 3.2.3.2
dotnet add package 51Degrees.mobi-WebMatrix --version 3.2.3.2
<PackageReference Include="51Degrees.mobi-WebMatrix" Version="3.2.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add 51Degrees.mobi-WebMatrix --version 3.2.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 3.2.3 Highlights
This release focuses on reducing memory consumption and improving performance when the device data file is used directly from the disk.
* Embedded data has been removed from the assembly and now must be provided from the App_Data folder.
* .NET 3.5 is not supported in this release in order to use memory mapped files and simplify overriding default browser capabilities.
* In stream mode entity data properties that can allocate large arrays only initialise these arrays when needed.  
* Caches used with stream operation are now fixed memory size and serviced via the thread pool.
* Automatic update processes uses temporary files rather than main memory to verify integrity of updated files prior to using them.
* Temporary files are now created in the App_Data/51Degrees folder of the web application rather than a UNC path or the master data file folder.
* Values associated with Profiles are now retrieved using a more efficient algorithm.
* DataSet.Properties collection now has a string accesser to make retrieving properties by name simpler.
* Web sites using memory mode use a byte array to improve start up time.
* Version 3.2 data file formats are supported in parallel with version 3.1 data files.
* 51Degrees unit tests are now part of the open source distribution.
Import Change: The embedded device data has been removed from the assembly and by default placed in the App_Data folder if used with a web site. The solution will not work without the associated data file being provided and the WebProvider.ActiveProvider property can now return null.

-- Changes from 3.2.2 --

1. Automatic download requests version 3.2 data file format.
2. The active provider will not be initialised when data sharing is enabled.

-- Changes from 3.2.1 --

1. TrieProvider now support V3.2 data file format which includes embedded HTTP headers in the properties data array.
2. TrieProvider supports NameValueCollection of HTTP headers rather than a single user agent string. An collection of device indexes is returned for each of the relevant headers. The collection can be used with new GetPropertyValue methods to return the property value from the most relevant HTTP header.
3. If a file is used with the StreamFactory it will only be deleted if the IsTemporary parameter is set to true. Previously the extension of the file was used to determine if the file was temporary and eligible for deletion.
4. Stream DataSet now exposes information related to the number of readers created and queued in the underlying Pool.
5. Detector module no longer listens for PostAuthorizeRequest if image optimisation is disabled.
6. Changing device detection or image optimisation enabled states will change web.config modules collection to ensure configured to listen for all requests, not just managed code.
7. Changed image optimiser process to reduce memory consumption slightly, and ensure resized image is smaller than the original.

-- Changes from 3.1.13 --

1. The entity RankedSignatureIndex has been renamed to IntegerEntity along with the associated factories. This is so that the entity can be reused in the new lists for Nodes related to Signatures and Signatures related to Nodes where each list also contains 4 byte integer data types.
2. A potential threading problem has been resolved in Profile entity by only referencing the property PropertyIndexToValues rather than its backed private field.
3. Cache service method thread start is now synchronised.
4. Memory/Profile.cs Init() method has been removed as the ValueIndexes and SignatureIndexes arrays are needed to support other methods and don’t need to be freed.
5. Changed the Cache classes AddRecent and ServiceCache methods to prevent multiple service operations in multiple threads.
6. Added a ResetCache method to the dataset.
7. WebProvider in memory mode now uses a byte array in memory rather than constructing all instances of every entity. This reduces start up time.
8. Unit tests have been added for performance, memory and major data error checks.
9. V3.2 data format is now supported.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.2.21.1 1,863 11/13/2018
3.2.20.2 566 6/4/2018
3.2.19.2 615 12/4/2017
3.2.18.2 1,853 9/13/2017
3.2.17.2 1,083 6/2/2017
3.2.15.6 1,085 3/20/2017
3.2.14.3 487 12/15/2016
3.2.13.5 537 11/1/2016
3.2.12.4 700 9/14/2016
3.2.11.1 497 8/18/2016
3.2.10.3-beta 534 6/22/2016
3.2.9.1 595 6/21/2016
3.2.8.1 625 5/23/2016
3.2.7.4 602 4/21/2016
3.2.7.3 597 4/4/2016
3.2.7-beta 630 2/12/2016
3.2.6-beta 547 12/7/2015
3.2.5.6 934 10/23/2015
3.2.5.5 647 10/16/2015
3.2.5.4 618 10/13/2015
3.2.5.3 578 10/12/2015
3.2.4.4 1,148 9/3/2015
3.2.3.2 802 7/21/2015
3.1.12.6 947 6/2/2015
3.1.11.1 878 3/20/2015
3.1.10.2 849 2/23/2015
3.1.9.3 2,775 1/8/2015
3.1.9.2 619 1/7/2015
3.1.8.4 636 12/4/2014
3.1.6.6 758 10/6/2014
3.1.4.5 1,495 7/10/2014
3.1.3.4 715 6/25/2014
3.1.3.3 824 6/24/2014
3.1.2.3 754 6/5/2014
3.1.1.12 693 5/27/2014
Show less