Like that? really?

So I found this. Please don’t do that. Do something better, it’s easy and less complicated. I’ll show you how. I doubt that OWIN components have been designed to be used as a DI container and in this post – they certainly seem to be used that way, unless I’m not seeing something. The idea behind the article IS GOOD. One manager per request – good, one DbContext per request – al…

By on (tags: ASP.NET, dependency injection, categories: tools, web)