This question is locked. New answers and comments are not allowed.
Hi,
maybe a double post, but regarding Open Access I'm always asking myself if I'm reading a post or a blog on the old or the new way... the doc and blogs are not dated so that makes it that much harder...
I'm having some general questions regarding Open Access, latest version Q2 2011. I'll post them separately.
Q: In the car rental demo a per request context connection is demonstrated. if, at any time in the lifcycle of the request a connection is requested, a instance of the context is created and saved in the request. in the Application.EndRequest event the context is closed.
Isn't this slowing down every request? why not save it at httpapplication level? (HttpContext.Current.Application("var")=new context)
Can I also consider an per session connection? what do you advise in a multiuser environment?
Regards,
Erik
maybe a double post, but regarding Open Access I'm always asking myself if I'm reading a post or a blog on the old or the new way... the doc and blogs are not dated so that makes it that much harder...
I'm having some general questions regarding Open Access, latest version Q2 2011. I'll post them separately.
Q: In the car rental demo a per request context connection is demonstrated. if, at any time in the lifcycle of the request a connection is requested, a instance of the context is created and saved in the request. in the Application.EndRequest event the context is closed.
Isn't this slowing down every request? why not save it at httpapplication level? (HttpContext.Current.Application("var")=new context)
Can I also consider an per session connection? what do you advise in a multiuser environment?
Regards,
Erik