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

Encapsulates all HTTP-specific information about an individual HTTP request.

  • 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.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (57)Discussions (1379)MembersRotorChanges
    Articles

    Page: 123
    A Dot Net Guruer of Context
    MSDN
    ASP introduced several intrinsic objects like Request and Application to help track the context for an HTTP request. ASP.NET takes the next step and bundles these objects, plus several additional context-related objects into an extremely handy intrinsic object called Context. Context is an object of type System.Web.HttpContext. It is exposed as a property of the ASP.NET Page class. It's also available from user controls and your business objects (more on that later).
    A Resource Server Handler Class For Custom Controls
    The Code Project
    A class implementing IHttpHandler for use in custom controls, to send embedded resources such as scripts, images, and style sheets to the client.
    Add a header and footer control to all pages using http module
    The Code Project
    Use the http module to automatically add a header and footer control to all ASP.NET pages
    Advanced Data Mapping in .NET
    DotNetJunkies
    In this article, Tin demonstrates 3 automated mechanisms for data mapping: mapping from Database table columns to object properties, mapping from HTML form fields to object properties, mapping from ASP.NET Web controls to object properties.
    An Introductory Guide to Building and Deploying More Secure Sites with ASP.NET and IIS
    MSDN
    ASP.NET and Microsoft Internet Information Services (IIS) work together to make building secure Web sites a breeze. But to do it right, you have to know how the two interrelate and what options they provide for securing access to a Web site's resources. This article, the first in a two-part series, explains the ABCs of Web security as seen through the eyes of ASP.NET and includes a hands-on tutorial demonstrating Windows authentication and ACL authorizations. A range of security measures and authentication methods are discussed, including basic authentication, digest authentication, and role-based security.
    An Introductory Guide to Building and Deploying More Secure Sites with ASP.NET and IIS, Part 2
    MSDN
    Forms authentication is one of the most compelling and useful new features of ASP.NET. It enables developers to declaratively specify which files on their site can be accessed and by whom, and allows identification of a login page. When an unauthenticated user attempts to retrieve a page protected by forms authentication, ASP.NET automatically redirects them to the login page and asks them to identify themselves. Included here is an overview of forms authentication and what you need to know to put it to work. Also included is hard-to-find information on the security of cookie authentication and on combining forms authentication with role-based URL authorizations.
    Application of the Cache Subsystem for Web Applications
    C#Today
    In this article, Eric Rhea explores two approaches to utilizing the caching system. First, he talks about how to make use of the cache subsystem from the web-form code. Then, he takes a look at exploring how to make use of the cache subsystem in the code behind. While doing this, he seeks three answers: (1) how to improve performance, (2) how to make use of similar techniques in both code areas, and (3) how to cache an object which is indeterminate in length and whose values you do not know in advance, and one which you cannot cache using the web-form directive.
    ASP.NET Session Management Internals
    The Code Project
    This article goes through the internals of ASP.NET session management.
    Asynchronous Command Execution in ADO.NET 2.0
    MSDN
    Get an overview of the new asynchronous execution functionality in ADO.NET 2.0, the scenarios it was developed to enable, plus some of the issues to keep in mind when using this feature.
    Audio-Video Module for ASP.net Community Starter K
    http://www.paul-abraham.com/
    Audio-Video Module for ASP.net Community Starter K
    BUG: Expired Authentication Cookie Increases QueryString Size in Visual Basic .NET
    http://www.kbalertz.com/
    You may notice that QueryString property values are lost or truncated under the following circumstances: You use Mobile Forms Authentication. -and- The Mobile Forms Authentication cookie expires. -and- You log on back to a Microsoft Mobile Internet...
    BUG: Expired Authentication Cookie Increases QueryString Size in Visual C# .NET
    http://www.kbalertz.com/
    You may notice that QueryString property values are lost or truncated under the following circumstances:
    Bugslayer: Handling Assertions in ASP .NET Web Apps
    MSDN
    Recently I was moving along with my ASP .NET Web site de-sign and was quite pleased to see just how much easier ASP .NET made the whole process. Being a good boy, I went through the design process and was about to start development when I noticed a small problem. A prototype I developed to test a theory would hang when I used the standard Debug.Assert.
    Build an XML Serialized Object
    Visual Studio Magazine
    Almost every Web application needs to store global configuration settings. Traditional Active Server Pages (ASP) Web applications often stored this data in a database. However, database storage has drawbacks: It's terribly inefficient to query the database each time you need to retrieve a setting, and some data, such as your database connection string, isn't appropriate for storage in a database. Many developers try to get around these two caveats by storing settings in Application variables initialized in the global.asa file. The problem with this approach is that changing the value of one of these Application variables in the global.asa file forces the entire ASP application to reload, leading to periods of downtime.
    Build Your ASP.NET Pages on a Richer Bedrock
    MSDN
    Build a base class to share functionality across all your ASP.NET 1.1 pages.
    Building a Full-Featured Custom DataGrid Control
    DotNetJunkies
    In this article, we will examine and implement these very features and demonstrate how you can build your very own Datagrid control component, one that you will be able to customize, and more importantly reuse. Based on this ability, you will then end up with one powerful control that will have many implementations, from which you could learn about creating almost any other types of custom controls.
    Caching Improvements in ASP.NET Whidbey
    MSDN
    Learn about the new caching features available in ASP.NET Whidbey, features that developers can use to significantly boost the performance of the next generation of ASP.NET applications.
    Cascade XSL
    The Code Project
    An engine that transforms XML files on a web server.
    Creating a Text Box Server Control with Color Highlighting
    DotNetJunkies
    You can extend existing controls with your own properties and behavior, combine controls together into composite controls, and even create your own control from scratch. In this article, I'll walk through creating a customized ASP.NET text box control that changes background color when it gains and loses focus.
    Creating HttpHandlers and HttpModules
    Bipin Joshi
    Http handlers are special applications that typically handle files with certain extension. For example when you request a file with extension .asp IIS routes it to ASP processor. But what if I want to handle files with my own extensions say .bipin? Http handlers allow us to do just that. Now, you might be thinking what is the use of a new file extension? Consider a case where you want to generate graphics on the fly. In such cases you will write an Http handler that will do your task. Note that Http handlers are typically called for the specific file extensions they are designed for. If you have worked with ISAPI extensions in past you will find this concept very familiar.
    Creating multilingual websites - Part 2
    The Code Project
    Creating multilingual websites - Part 2
    Cutting Edge: Implement Custom Cache Dependencies in ASP.NET 1.x
    MSDN
    Get ASP.NET 2.0 functionality now.
    Declarative ASP.NET globalization
    The Code Project
    An article on how to implement globalization support for ASP.NET pages through attributes and reflection
    FIX: You receive an "HTTP 404 Error" error message and the custom HTTP handler does not run again after you map Aspnet_asapi.dll to .*
    http://www.kbalertz.com/
    (834270) - You can configure an HTTP handler to handle all file name extensions that have no mappings. If the handler is configured this way, and you visit a Web site in a virtual directory that contains an application that has no mappings for a specific file...
    Get the RawURL using the HttpContext
    ASP Alliance
    This snippet shows how to get the URL of the page using System.Web.HttpContext.
    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