This project has moved. For the latest updates, please go here.

Rating: No reviews yet
Downloads: 508
Change Set: 75009
Released: May 22, 2014
Updated: May 27, 2014 by ThomasHolmes
Dev status: Stable Help Icon

Recommended Download

Source Code 51Degrees Foundation Source and Detection Sample
source code, 27023K, uploaded May 22, 2014 - 220 downloads

Other Available Downloads

Application 51Degrees DLL Website Enhancer
application, 11403K, uploaded May 22, 2014 - 86 downloads
Documentation Release Note
documentation, 668K, uploaded May 22, 2014 - 49 downloads
Example 51Degrees Lite Device Data - Version 3.1 Format
example, 6082K, uploaded May 22, 2014 - 153 downloads

Release Notes

Version 3.1 Highlights

  • Device detection algorithm is over 100 times faster. 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.
  • 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.
  • 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.
  • Versions of .NET prior to 3.5 are no longer supported.

Changes from

Important: data files must be updated to version 3.1 to work with this version of the API.
  1. Added methods to return the device Id as a binary byte array for more efficient storage than the string version. A method to use the device Id as the key has been added to speed up retrieving device properties.
  2. Renamed a number of properties for consistency of naming.
  3. Added a generic cache class used for caching Id and User Agent requests.
  4. Added a new property to the initialiser which enables memory mode for faster performance.
  5. Added check to ToBool and ToDouble methods to ensure there is a default value if there is no value for the device.
  6. .NET 3.5 was not overriding default properties correctly. This is now addressed.
  7. Image width and height attributes now default to ‘w’ and ‘h’, instead of ‘width’ and ‘height’. Sample project updated to use these values.
  8. Added the ‘defaultAuto’ attribute. If an image is requested with a width or height set to ‘auto’, the parameter will be changed to the value set in ‘defaultAuto’. This change was made for clients without javascript that should still be served images, such as search crawlers. The attribute is optional and defaults to 50.
  9. Closest and Nearest routines now use pre-sorted lists added to the data files. This leads to a performance improvement where a large number of signatures are returned and also reduces memory consumption.
  10. Simplified some of the methods used to override default browser properties.
  11. The Provider can now be initialised with a cache interval in seconds which will be used to store results for a period of time improving performance in some situations. The WebProvider defaults this value to the same as the CacheServiceInterval provided in the constants file.
  12. Ensured all calls that can use context and session cached data are using this source to avoid duplicate detections for the same web visit.

Reviews for this release

No reviews yet for this release.