Summary
After reading this chapter, you should know about EF Core and how to use it to create a code-first database in MSSQL, how to create migrations, and how to apply them to the server.
We also covered the topic of mapping the objects between each other using AutoMapper and why you should not expose the database schema to the client.
You should also have some idea about how to create generic services to manipulate the data.
By now, you should be able to create any kind of database entity with the corresponding business model returned to the client. Also, you should be able to create data services for CRUD operations.
In the next chapter, we will take a closer look at connecting the client Blazor WebAssembly application to our server part to consume the created data services.