Hook into Application_Start in a HttpModule

前端 未结 6 506
太阳男子
太阳男子 2020-12-16 02:13

I’m implementing a simple HttpModule, where I want some code to run when the web application is started. But I’m surprised to find that the Application_Start event I would n

6条回答
  •  温柔的废话
    2020-12-16 02:42

    You cannot attach to the Application_Start event in an HttpModule. Here's a list of available events.

提交回复
热议问题