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



Prev