Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Browser capabilities detection using local App_Browsers ASP.NET folder in ASP.NET project not working

$
0
0

Hi,

I have installed all the latest frameworks. Currently 4.5.1 with all rollups. Still there is no correct capability detection for IE 11.

It works fine for me to add my own capabiltiy detection configuration in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\Browsers and register a new factory dll using aspnet_regbrowsers.exe utillity.

...

The prefered way is however to activate application local browser detection using the App_Browsers ASP.NET folder. This is simply not working for me. No matter if I just launch my app from Visual Studio 2013 using IIS Express, or after publishing the site (all ok, with app_browsers folder) to my local IIS 7 (i'm running on Windows 7 Pro x64 SP1. This way, for ex. the  Request.Browser.Id returns "internetexplorer" and therefore also wrong capabilities.

Overall I could find very very litle details, explaining the inner workings of these teqniques in .NET Framework, ASP.NET and Visual Studio, to better grasp whats really going wrong. On some sites it states that IIS should autmatically picking upp the contents from App_Browsers folder if it exists. Ignoring any machine wide capability definition, that already exists in the app_browsers folder.


SWEDEV






Viewing all articles
Browse latest Browse all 21115

Trending Articles