Is there an event that will run once when either we tell IIS that we've changed the
source code for the site or when the server reboots?
What I'm trying to do: I want to have a file that tells my .aspx.cs files which
database to connect to. I do not want to use web.config (if that is even possible).
Ideally I'd like some global object accessible from Page_Load to be able to return a
database name string in some method call into that object to look up the property.
I'd rather not open the settings file every time there is a page load. Seems like a
bit of overhead that ought to be avoidable.
Any suggestions on how to approach this?