Device Data Updates
Lite Data Update, 9/12/2011
Data now contains definitions for Ubuntu, Ubuntu derived operating systems and Tianyu mobile devices.
51Degrees.mobi now provide device data - find out more about 51Degrees.mobi Device Data here
, and see how to adapt a previous Foundation installing from WURFL
at our FAQs.
The Provider class is now created using one of two new reader classes called Binary or XML to initialise the device data. The following example shows how to create the Provider.
var provider = Binary.Reader.Create("Data File Path");
The static Create method of the readers can also use a byte array or open stream providing the initialisation data.
This will not be a concern for developers who only use Foundation within IIS.
Changes in Foundation Version 18.104.22.168 -
- Minor tweaks to theLite Device Data
- Fixes error with xml data configuration
Changes in Foundation Version 22.214.171.124 -
- 51Degrees.mobi device data is now available for Foundation. See this link for more details.
- Option to automatically update device data on a weekly basis.
- Device data is embedded into the compiled assembly by default. Data files in App_Data (or other folder) are now optional.
- Device data can be read in XML and Binary formats. Binary format is significantly faster to load and is used by default.
- Matching logic is included in the device data files.
- Many detection related configuration options have been simplified and moved into the source code.
- Some related distrubutions such as the MVC3 and IIS6 installer have been removed.
- More methods and properties have been marked public.
- Fewer .NET default browser capabilities are overridden to reduce seemingly inconsistent behaviour.