Does Application_Start block all incoming requests

Posted by Jeeji on Stack Overflow See other posts from Stack Overflow or by Jeeji
Published on 2010-05-05T19:39:35Z Indexed on 2010/05/05 19:48 UTC
Read the original article Hit count: 156

Filed under:
|

Hi

I have some code that initializes a static singleton class, which is needed by all requests. Therefore I thought I could add it to global.asax Application_Start. Can I be 100% sure that all requests will block while Application_Start is loading to guarantee that all the requests will have access to it?

Thanks a lot Jeeji

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about application-start