One DbContext per web request… why?
I have been reading a lot of articles explaining how to set up Entity Framework’s DbContext so that only one is created and used per HTTP web request using various DI frameworks. Why is this a good idea in the first place? What advantages do you gain by using this approach? Are there certain situations … Read more