Changes to Browser Capabilities in asp.net 4.0
ASP.NET determines the capabilities of the browser that a user is using to browse your site by using a feature called browser capabilities. Browser capabilities are represented by the HttpBrowserCapabilities object (exposed by the Request.Browser property). For example, you can use the HttpBrowserCapabilities object to determine whether the type and version of the current browser supports a particular version of JavaScript. Or, you can use the HttpBrowserCapabilities object to determine whether the request originated from a mobile device.
The HttpBrowserCapabilities object is driven by a set of browser definition files. These files contain information about the capabilities of particular browsers. In ASP.NET 4, these browser definition files have been updated to contain information about recently introduced browsers and devices such as Google Chrome, Research in Motion BlackBerry smartphones, and Apple iPhone.
The following list shows new browser definition files:
· blackberry.browser
· chrome.browser
· Default.browser
· firefox.browser
· gateway.browser
· generic.browser
· ie.browser
· iemobile.browser
· iphone.browser
· opera.browser
· safari.browser
