2021年1月21日星期四

IIS end application on every request

I've notice that on the production server, my asp.net 4.7.2 application is very slow. By debugging I've found that in global.asax the Application_start and Application_end is called on every request, causing a recompile of the application each time and slowing down the response. I0ve test it on several servers and the behaviour is always the same. Running the website on localhost in IIS (not iis express) this not happen. How can I check why Application_End is called and from where? Debugging in VS the Application_end stacktrace is empty, I cannot see from where is called.

Thanks

https://stackoverflow.com/questions/65830627/iis-end-application-on-every-request January 21, 2021 at 11:31PM

没有评论:

发表评论