Testing the Data Provider

Before moving further, it’s time to perform a final test to check whether everything we did up to this point--ApplicationDbContext, Code-First Database Initialization, Data Migrations, Data Seed, and Data Mapping--is working as expected.

To do that, just launch the application in debug mode by pressing the F5 key. If everything has been implemented properly, you should be presented with a Home Page similar to this:

Although it doesn’t seem too different from what we already had by the end of Chapter 3, Frontend with Angular, we know that a lot of stuff changed under the hood. For example, our application is now equipped with a persistent Database built on top of a real Data Model handled by an EF-powered, migrations-aware DbContext available through Dependency Injection upon a per-request scope.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.212.160