bdrenner-new42
-
10/23/2013 9:17:59 AM
Where best to customize HttpApplication?
I can see three points at which I could add custom code for Kentico's HttpApplication:
- Global.asax.cs - CMSHttpApplication.cs - CMSAppBase.cs
I had some trouble adding to the usual Global.asax.cs. Application_Start would never fire, and for every exception, Application_Error would fire twice.
I've settled on modifying Kentico's provided CMSHttpApplication.cs, but it doesn't feel right. What is the best practice for adding custom code to the typical HttpApplication methods?
|