.NETGURU
System.Web.HttpBrowserCapabilities Class
Information   Base Types   Related Resources

Enables the server to gather information on the capabilities of the browser that is running on the client.

  • Namespace: System.Web
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: System.Web.dll

  • System.Web.Configuration.HttpCapabilitiesBase
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (9)Discussions (45)MembersRotorChanges
    Articles

    Page: 1
    Browser Sniffing in ASP.NET
    DotNetJunkies
    Sniffing browser capabilities is nothing new to an experienced web developer. Over time many different approaches have come around...using InStr() to see if a particular value, such as MSIE was in the HTTP_User_Agent value of the Request.ServerVariables collection, or using the Browser Capabilities component in ASP 3.0 to compare against. In ASP.NET you get the HttpBrowserCapabilities class, a new and improved Browser Capabilities component.
    Browser Sniffing in ASP.NET
    DotNetJunkies
    Sniffing browser capabilities is nothing new to an experienced web developer. Over time many different approaches have come around...using <SPAN class="CodeInText">InStr()</SPAN> to see if a particular value, such as MSIE was in the HTTP_User_Agent value of the Request.ServerVariables collection, or using the Browser Capabilities component in ASP 3.0 to compare against. In ASP.NET you get the <I>HttpBrowserCapabilities</I> class, a new and improved Browser Capabilities component.
    Go MAD for ASP.NET
    ASP Alliance
    oes your site use Cascading Style Sheets (CSS) to format text and/or provide a consistent look and feel for your Web site? If not, why not? Probably because you need to support multiple browser types, each of which has differing levels of support for CSS. This means that it's very difficult to create a .css file (used for creating linked style sheets...for more on CSS, see http://www.w3.org/Style/CSS/) that will provide a consistent look and feel across multiple browsers such as IE 5.5+, Navigator 6.x and especially Navigator 4.x or earlier, where support for CSS is limited.
    Host Secure, Lightweight Client-Side Controls in Microsoft Internet Explorer
    MSDN
    With all the talk about Microsoft® .NET these days, it's natural for developers to look to this new platform for alternatives to traditional client-side Web technologies, such as ActiveX®. While the immediate impact of .NET is greatest on the server, corporate intranet developers targeting Microsoft Internet Explorer 5.01 or higher can use .NET Windows® Forms technology to build lightweight, zero-impact, secure client-side objects that can utilize the powerful .NET Framework.
    HOW TO: Determine Browser Type in Server-Side Code Without the BrowserType Object in ASP.NET (Q306576)
    Microsoft Support
    This step-by-step article demonstrates how to determine the client browser type in server-side code without using the BrowserType object in ASP.NET. In classic Microsoft Active Server Pages (ASP), the two most common methods to determine the client browser type are to use the BrowserType component or the Request.ServerVariables("HTTP_USER_AGENT") variable. Although you can use these methods in ASP.NET, you can also use the new properties that ASP.NET provides. In ASP.NET, the Request object includes a property named Browser that contains rich information about client browser capabilities such as browser name, browser version, and whether JavaScript, ActiveX controls, cookies, and frames are supported.
    HOW TO: Determine Browser Type in Server-Side Code Without the BrowserType Object in ASP.NET (Q306576)
    http://www.kbalertz.com/
    This step-by-step article demonstrates how to determine the client browser type in server-side code without using the
    HOW TO: Determine the Browser Version in ASP.NET
    http://www.kbalertz.com/
    (311281) - This article describes how to determine the Web browser version in ASP.NET. Requirements The following list outlines the recommended hardware, software, network infrastructure, and service packs that you need: Visual Studio .NET Microsoft Internet...
    Xml Counter
    Master C#
    Everyone wants to know how many people and from where are visiting their pages (including Me) . A component without which any website is incomplete is a good Counter which helps the Web Developer to track the viewers and the viewers trend.
    Xml Counter 4
    Master C#
    Page Counter - Everyone wants to know how many people and from where are visiting their pages (including Me) . A component without which any website is incomplete, is a good Counter which helps the Web Developer to track the viewers visiting his site. To meet this requirement I have developed a Counter in ASP.NET, since I have access only to free resources in have used XML as my database to store the visitor information.
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification