Welcome to WebmasterWorld Guest from 34.207.152.62

Forum Moderators: ocean10000

Message Too Old, No Replies

Browser Detection for .NET

Browser Detection for .NET

     
11:50 pm on Jun 15, 2010 (gmt 0)

New User

10+ Year Member

joined:Oct 25, 2004
posts: 21
votes: 0


What is the current "standard" for browser dectection for the .NET Framework?

Is the browsecap.ini file still in use?

Thanks,
Paul.
2:12 pm on June 16, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 1, 2005
posts:732
votes: 0


Hi Paul,

AFAIK there are a couple of people keeping up to date versions of browser definition files.

- the Browser Capabilities Project [browsers.garykeith.com] by Gary Keith
- and the browser identification project [owenbrady.net] by Owen Brady (Ocean10000)
3:10 pm on June 16, 2010 (gmt 0)

Administrator

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month

joined:Jan 14, 2004
posts:864
votes: 3


The .Net Framework, has 3 different versions to identify browsers depending on the version of the framework. Version 2 to 4 use .browser definition files, while version 1 used a section in the web.config to manage the definitions. No mater which version of .Net used, the object structure to determine the capabilities remained largely unchanged.


Reference:
How to: Detect Browser Types in ASP.NET Web Pages [msdn.microsoft.com]
HttpBrowserCapabilities [msdn.microsoft.com]
4:20 pm on June 16, 2010 (gmt 0)

New User

10+ Year Member

joined:Oct 25, 2004
posts: 21
votes: 0


Thank you.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members