how do you wire up Application_BeginRequest() in asp.net-mvc

Viewed 57712

I see in global.asax.cs from an ASP.NET MVC project

 protected void Application_BeginRequest()
 {
 }

but when I try to add this to my project, I don't see what is calling this method. I see that the base System.Web.HttpApplication has this event but I don't see anything overriding it or subscribing to this event.

Can someone explain how you wire up Application_BeginRequest in ASP.NET MVC?

2 Answers
Related