October 2022
Beginner to intermediate
240 pages
4h 47m
English
In this chapter, we will learn about some basic ways to add a data access layer to the minimal APIs in .NET 6.0. We will see how we can use some topics covered previously in the book to access data with Entity Framework (EF) and then with Dapper. These are two ways to access a database.
In this chapter, we will be covering the following topics:
By the end of this chapter, you will be able to use EF from scratch in a minimal API project, and use Dapper for the same goal. You will also be able to tell when one approach is better than the other in a project.
To follow along with this chapter, you will need to create an ASP.NET Core 6.0 Web API ...
Read now
Unlock full access