What function do i use to run code when ASP.NET starts up? -


When my asp.net server goes up I want to run some basic checks, mostly simple things such as DB exists I am missing any compartment, etc. What function do I call to call my code?

You should use the application_start event at Global.asax


Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

objective c - Mouse events for an NSSegmentedCell subclass? -