We all know that we should be writing unit tests for our applications. But what do you do about that database code? Data access code is FAMOUS for wrecking our dreams for a clean, unit testable application. Add ASP.NET MVC and application security into the mix and those unit testing dreams just drift further and further away.
It doesn't have to be that way. Heck! It's not even that hard to do! It just takes a little bit of planning and some basic design patterns. In this session, we'll go through how to design and build your ASP.NET MVC & Entity Framework applications so that you've got a clean, maintainable, and unit testable design.
You will learn:
- How to design a testable ASP.NET app using Entity Framework
- Unit test security related code in ASP MVC Controllers
- Gotchas for testing Entity Framework code