Further reading
Here are a few links that can help you build on what we learned in this chapter:
- ExceptionMapper is an ASP.NET Core middleware that reacts to
Exception
. You can map certain exception types to HTTP status codes and more. It is one of the open source projects that I created in 2020: https://net5.link/i8jb. - Dapper is a simple yet powerful ORM for .NET, made by the people of Stack Overflow. If you like writing SQL, but don't like mapping data to objects, this ORM might be for you: https://net5.link/pTYs.
- An article that I wrote in 2017, talking about the Repository pattern; that is, Design Patterns: ASP.NET Core Web API, services, and repositories | Part 5: Repositories, the ClanRepository, and integration testing: https://net5.link/D53Z.
- Entity Framework Core – Using Transactions: https://net5.link/gxwD.