Application_start not working

后端 未结 5 542
青春惊慌失措
青春惊慌失措 2021-01-14 00:32

I have written some code in the application_start() method in my global.asax file. It does not get called when I deploy my application on IIS

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-14 00:47

    This did work for me:

    • Menu -> Build -> Clean Solution
    • Menu -> Build -> Rebuild Solution

    Then, Application_Start() was fired only for the first time.

提交回复
热议问题