I've got a web app targeting .net 3.5 and im trying to target iPads. I've visited my page from iPhone, iPad, Chrome, Safari and it gives bad completely erroneous and useless results. I've checked my .net framework browser config folder and v2.0.50727 has a bunch of .browser file (they look pretty shonky but whatever) Anyhow, the v3.0 and v3.5 don't even have a config folder and the v4.0.30319 folder has some better looking .browser files. So that's the situation yet Request.Browser.Type always says its a desktop type, the Request.Browser.Browser is always AppleMAC-Safari, and the version is always 5.0 and the mobile device is unknown, screen width is always 640, etc. This is complete garbage. So I added an App_Theme folder and copied the .browser files from v4.0.30319/config/browsers and recompiled, no difference.
I find it hard to believe that Microsoft has had support for browser detection in an INI in v1.1, built it into the machine config in v2.0, and even now has a special App_Browsers folder for v3.0, just to have it completely broken now?
I'm looking for links to updated .browser files (if this even works) or existing projects which have useful useragent detection. I know I can simply check Request.UserAgent, but the whole point of this .browser business is for that to be done for me. Can anyone confirm or deny that this works and people actually have used .browser files with success?
So far I have little faith in this but I'd also like to not reinvent the wheel. Any pointers in the right direction would be helpful.