To get started, download the code from part 4 of this series. Next, open the Views\Home\Index.cshtml Razor view and paste in the markup from Listing 1. Listing 1: Initial Index.cshtml Razor View @{ ...
In this second part on TDD for ASP.NET MVC, Eric Vogel covers how to implement unit tests for the remaining CRUD controller actions. Last time I wrote about test-driven development for ASP.NET MVC.
Take advantage of the fast, easy, and lightweight Simple Injector inversion of control library to implement dependency injection in your ASP.NET Core MVC applications. Dependency injection (also known ...