How do I write custom code that runs on server start?
I need to declare an instance of a custom class and add it to the Application collection as soon as our ASP.NET site starts on the server.

So far, we have it doing it on the first page load of a master page, but that can take a few seconds because this class is a little intensive, so the first user is required to wait a couple seconds while the web server completes its task.

So where do I need to go to do this?

[EpicClanWars.com][1]


  [1]: http://EpicClanWars.com
How do I write custom code that runs on server start?
===

I need to declare an instance of a custom class and add it to the Application collection as soon as our ASP.NET site starts on the server.

So far, we have it doing it on the first page load of a master page, but that can take a few seconds because this class is a little intensive, so the first user is required to wait a couple seconds while the web server completes its task.

So where do I need to go to do this?

[EpicClanWars.com][1]


  [1]: http://EpicClanWars.com