Monday, September 15, 2014

Monday Quickie - Using IIS Application Initialization for keeping ASP.Net Apps alive.

This came about from trying (and failing) to remember that one liner for registering components with IIS for correct teardown.
HostingEnvironment.RegisterObject(launcher);
I finally came across the article by Rick Strahl that I'd been looking for, which covers everything:

Use IIS Application Initialization 
for keeping ASP.NET Apps alive

Seemples.



No comments: