There are times when you want to forcefully reset a given website application's AppDomain. One specific scenario where this might happen is if you are storing application settings in a database as opposed to the web.config file. It turns out this is easy to accomplish by calling: System.Web.HttpRuntime.UnloadAppDomain();
.NET Development