Wednesday, July 05, 2006

ASP.NET 2.0 Global Event handling: HttpModules

Global.asax? Use HttpModules Instead! by Karl Seguin

namespace Fuel.Web
{
public class ErrorModule : IHttpModule
.....
}

Web.config:
<httpModules>
<add name="ErrorModule" type="Fuel.Web.ErrorModule, Fuel.Web" />
</httpModules>

No comments:

Followers

About Me

My photo
Email me: blog@postjobfree.com