In this chapter, we have seen how we can build a web service stack using ASP.NET Core. We also looked at how to implement CRUD operations on a repository and how to deal with data transfer objects and validation. This chapter has provided a starting point and the knowledge we need to build a very simple web service using ASP.NET Core, including how to handle requests, how to use model binding, and how to validate requests.
In the next chapter, we will cover the routing system of ASP.NET Core in more detail by exploring how it can be extended and customized.