Modularized Startup Tasks

added by KodefuGuru
6/6/2012 9:20:30 PM

5 Kicks, 240 Views

While developing my new blog software, I decided that it really bothered me to make changes to global.asax. To me, the code in Application_Start represents a workflow that doesn’t really belong in a properly modularized system. I decided to take matters into my own hands and move everything into classes with specific responsibilities under App_Start and use WebActivator to run the code. This is how it turned out...


1 comments

dpeterson
6/7/2012 8:59:26 AM
I prefer this sort of approach as well, it feels more maintainable and loosely coupled. Not sure if that's reality, but it feels better.