How are browser capabilities definitions updated in the .NET Framework?

I want to use HttpBrowserCapabilities to collect statistics about the devices used to access the website.

As far as I know, HttpBrowserCapabilities based on .browser files in the% SystemRoot% \ Microsoft.NET \ Framework \ version \ CONFIG \ Browsers directory.

Applications written in other languages, such as PHP, base their browser discovery on browscap.ini , which makes updating the file easier when new browsers are released. What about the .NET Framework, or rather:

  • Are the browser definitions used by the .NET Framework automatically updated using Windows Update without expecting a new major version of the .NET Framework?

  • If not, is there a known, automated, or semi-automatic process that I can use to update definitions?

In short, if a new browser is released tomorrow, how long will it take for me to detect it, and how will the manual / automatic process be performed?

The best case would be to automatically push definitions through Windows Update.

In the worst case scenario, I will have to manually track all changes affecting the browser and manually modify the Web.config (or .browser ) files.

+4
source share
1 answer
  • He does not need a major release. For example, .NET 4.5.1 updates the browser file in Internet Explorer 11. It can be installed and it will work even if the website does not work in version 4.5.1.
  • Previously, there were projects such as this one , but I do not think that there is an active one. I would be interested, however.

Further we read that ASP.Net 4.0 can be useful , JavaScript is not issued in IE 11 and __ dopostback undefined in IE 11 when viewing windows 8.1 .

+1
source

All Articles