I just discovered why all ASP.Net websites are slow, and I am trying to work out what to do about it

前端 未结 10 837
情话喂你
情话喂你 2020-11-22 07:53

I just discovered that every request in an ASP.Net web application gets a Session lock at the beginning of a request, and then releases it at the end of the request!

10条回答
  •  星月不相逢
    2020-11-22 08:14

    If you are using the updated Microsoft.Web.RedisSessionStateProvider(starting from 3.0.2) you can add this to your web.config to allow concurrent sessions.

    
        
    
    

    Source

提交回复
热议问题