Google Website Optimizer Integration

In this example we will create a set of controls to simplify the use of the Google Website Optimizer tool. Google Website Optimizer is a tool that can help you improve the effectiveness of your website and your return on your investment by testing if changes to your website’s content are more effective in getting conversions.

More



The Open Session In View Pattern

The purpose of the Open Session In View (OSIV) Pattern is to handle a database session (connection and transaction) within the scope of a single web request cycle. A database session is created at the beginning of each web request, this is then used by all the different parts of the web application and then […]

More



C# Extension Methods

Extension methods are a very useful tool to add methods to an existing type without having to create your own custom type. You create them in a static class by creating a static method that takes an argument of the object type you want to extend, the argument is preceded by the this modifier.

More



Example Abstract BaseHttpHandler

This example class is an abstract HttpHandler which can be used as a starting point for most HttpHandlers.

More



Simple Web CacheUtils Class

This is a simple helper\utility Class is used for Caching within a web environment. It uses HttpContext.Current.Cache to Get, Set and Delete objects.

More



ASP.NET Web Page Life Cycle Events

A web page has a set of events that get raised at during the ASP.NET Page Life Cycle. ASP.NET looks for methods with certain names and automatically runs those methods when certain events are raised.

More



Using INamingContainer in Controls

You use the INamingContainer Interface if you want your Control to create a ID namespace within the Page’s Control hierarchy. Basically you are setting an ID which wraps all the child controls.

More



Automatic and Postponed PostBacks

Web Controls like the Button or LinkButton automatically PostBack when Clicked, other Web Controls like the TextBox have the ability to do Postponded PostBacks as well as Automatic PostBacks. A Postponed PostBack is when the PostBack Event is only happens when another Web Control does a PostBack.

More



Dynamically Adding Web Controls

It is possible to dynamically add Web Controls to a Web Page by using the PreInit Page Event. In this example we will add a TextBox and LinkButton using the code behind and then also access the value in the TextBox from the LinkButton Click Event.

More



Using Telnet to explore HTTP

In this post we will use Telnet to access website content via HTTP, by creating our own HTTP GET requests.

More



Next