Don’t use HostingEnvironment.ApplicationHost.GetSiteName()
We have developed a diagnostics framework we use to get some quick diagnostic information about our applications like whether a database or web service can be made. It’s a server/app configuration smoke test of sorts. Over time we’ve added further capabilities to it like checking registry entries exist, file/folder permissions and web/machine.config values. Our latest …
Don’t use HostingEnvironment.ApplicationHost.GetSiteName() Read More »