Domain Driven Design with Web API revisited Part 11: database creation and initial tests
September 10, 2015 2 Comments
Introduction
In the previous post we created the load test specific database context in a new repository layer. We also implemented the abstract timetable repository interface.
In this post we’ll create the database and fill it up with some initial values. The purpose of this post and the next is to see how our domain layer is reflected in the data store and to discover potential shortcomings and errors. I want to avoid the situation where we come to the final post where we test the web service layer and nothing works as it should. The tester application will be a simple C# console application.