Summary

Before moving further, let's do a quick recap of what we did throughout this chapter.

We started working on the server-side aspects of our project. Having replaced the fake data provider with a real one, we made good use of it by implementing the Put, Post, and Delete action methods within our .NET Web API Controllers, mapping our Entities to their respective ViewModels--and the other way around--with the help of the Mapster package library. However, we shortly acknowledged the fact that we were writing a lot of duplicate code; in order to reduce this, we implemented a BaseApiController class that we used to do some common and repeating tasks, such as making the DbContext available through dependency injection and providing a handy ...

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.