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)

Testing the web - a new hope

There are plenty of ways to test web apps, but most of them require a cumbersome setup and a lot of tools installed and I’m just too lazy to do that. But I just found something that may work in my favour. The fact that I will need something more than unit tests for web apps is obvious – I just didn’t have the time/urge/heart to set up ‘the whole machine’. I’ve had some experien…

By on (tags: fluent, testing, categories: tools, web)

ASP.NET Identity – the new way of handling authentication and authorization in asp.net

First there was ASP.NET Membership (well, maybe not first, but it was released a long time ago), then there was the ASP.NET Simple Membership, then ASP.NET Universal Providers now there’s the “latest and greatest” ™ ASP.NET Identity. Let’s dig in. For a while now my project build reported that FormsAuthentication is deprecated so I knew I’ll need to look into the latest thing a…

By on (tags: autentication, identity, categories: web)