locked
Application Pool Recycling and Application_Start RRS feed

  • Question

  • User438705957 posted

    I am supporting an old Webforms website application.

    I have several mission critical data items that are placed in Application State at execution of Application_Start, and only Application_Start.

    I am facing a situation where I need to modify those data items by forcefully running Application_Start.

    The question I have is, does a recycle of the Application Pool cause Application_Start to execute either directly or as a downstream consequence of recycling.

    I am aware that a recycle causes Application State to be invalid.

    Thanks

    Monday, March 16, 2020 9:37 PM

Answers

  • User288213138 posted

    Hi Madog,

    he question I have is, does a recycle of the Application Pool cause Application_Start to execute either directly

    As far as i know, the Application_Start gets called on the first request after recycling when the application is actually loaded by IIS.

    Best regards,

    Sam

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 17, 2020 9:34 AM