| 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. |
|