c# - When does PreApplicationStartMethod actually get triggered to run? -


when using webactivator preapplicationstart method, triggers methods bound run? when iis7 has started app pool? when first request made webserver? else? if have answer, please provide reference got information?

does of change in iis 7.5?

webactivator preapplicationstart relies on asp.net preapplicationstartmethodattribute (see this link see how web activator works).

preapplicationstartmethodattribute works when asp.net runtime starts up application , code runs in pipeline before app_start event gets fired. answer question, trigger happen when first request made web server (which in turn kicks in application start up).

note trigger related asp.net app start , not app pool. app pool might running because of other application (can non asp.net app) when first request comes asp.net app, trigger happen (for particular app) because application gets started.

if using auto-start feature iis re-start application on app pool recycle , preapplicationstart triggered.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -