c# - How does ASP.NET WebSecurity Authentication manages SQL Server connections? -


i have ef context in asp.net mvc project. if use websecurity have these questions in mind connection management sql server .

  • does use same connection ef model request? (i think not)
  • does create connection every request? if have 2 connections, 1 ef other websecurity.
  • if use 1 connection (since can placed application_start()), if there many users surfing web @ same time? lock other user requests , create slowness?
  • does make check database when sees [authorize] attribute on every request? (that makes pages users need logged in.)

i appreciate internal mechanisms.

note: please ignore connection pooling unless webmatrix/websecurity has internal connection pooling.

thanks.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -