The BrowserCaps setting is rather quite long. Is there a way to factor it into an external config file.
does anyone know the markup?
The BrowserCaps setting is rather quite long. Is there a way to factor it into an external config file.
does anyone know the markup?
It's just XML, and an updated version of the BrowserCaps file can be found here (props to this previous answer for pointing me in that direction):
If you're using ASP.NET 2.0+ then as the browserCaps element is depricated as of .NET 2.0, you should look into using .browser files in an /App_Browsers folder.
Create a new web.config file in your project and call it browserCaps.config
Paste the XML of the latest browserCaps (http://owenbrady.net/browsercaps/CodeProject.xml) into this new file.
In the existing web.config file of your project, add the following key within the <system.web></system.web>
section:
<browserCaps configSource="browserCaps.config"/>
Also see this link: http://weblogs.asp.net/fmarguerie/archive/2007/04/26/using-configsource-to-split-configuration-files.aspx