This project is read-only.

Capturing Session_Start/End

Aug 23, 2010 at 10:10 PM
Edited Aug 25, 2010 at 5:00 PM

1. Using StructureMapMvcApplication and not sure how to get to Session_Start and End events. Any idea?

I have an existing WebForms project and I've configured the solution to work along with MVC. Currently, the WebForms has a Global.asax that implements a bunch of events and I've now made it inherit from the StrcutureMapMvcApplication and just wondering if leaving current events like below will work.


protected void Application_Start(object senderEventArgs e)

protected void Session_Start(object senderEventArgs e)

2. How do you use areas. RegisterRoutesBase only deals with routes.