Skip to content

Instantly share code, notes, and snippets.

View micheledurante's full-sized avatar
🚌
beep beep

micheled micheledurante

🚌
beep beep
View GitHub Profile
@micheledurante
micheledurante / CustomGlobal.cs
Created July 24, 2017 10:18 — forked from csharpforevermore/CustomGlobal.cs
Custom Global.asax.cs for Umbraco 7
public class CustomGlobal : UmbracoApplication
{
public void Init(HttpApplication application)
{
application.PreRequestHandlerExecute += application_PreRequestHandlerExecute;
application.BeginRequest += this.Application_BeginRequest;
application.EndRequest += this.Application_EndRequest;
application.Error += Application_Error;
}