This release changes the way some WURFL capabilities and attributes are exposed to .NET developers. If you cast MobileCapabilities to return some values then please read the Release Note before implementing this release.
The following code snippet can be used to access any WURFL capability. For instance, if the device is a tablet:
string capability = Request.Browser["is_tablet"];
New attributes have been added to the redirect section:
- originalUrlAsQueryString If set to true the redirected URL will have the original requesting Url encoded and included as the origUrl query string parameter in the redirected Url. This will enable the mobile home page to determine the original requested resource providing the option to display a mobile friendly version.
- locations element allows multiple redirect locations to be configured using properties of the request such as the URL and the device capabilities.
The following changes have been made to the creation of log files:
- WURFL information is no longer recorded in debug mode.
- In debug mode, redirections now log the useragent, the URL requested and new URL, and which location entity caused them to do so. Redirections logged as ‘default’ are due to the standard mobile redirection.
The following general changes have been made to the project:
- The MajorVersion property of the Request.Browser property no longer generates an exception in some circumstances.
- Fixed a rare exception caused by a null pointer in the override capabilities module.
- The fiftyOne/redirect section mobilePagesRegex attribute will now also apply the regular expression provided to the full Url of the requesting page in addition to application relative file path. The value http://m.yourdomain.com|~/Mobile/ can be used to treat all requests to the m.yourdomain.com as mobile pages and therefore avoid redirecting requests to this domains from mobile devices.
- Issues related to the timeout attribute of the redirect configuration not being processed correctly have been resolved.
- Improved support for CMS systems including DotNetNuke, Umbraco and Sitefinity.
- Firefox 4 beta & Windows Phone 7 new format UserAgent strings for Windows are now supported.
See Release Note for full details.