In the previous chapter, we learned how to deal with the logic of our web service in the Catalog.Domain project. This chapter will walk you through the HTTP part of the web service and all the components inside the Catalog.API project.
We will also demonstrate how to implement and test the controller part of a web service. By the end of the chapter, you will be able to implement, test, and validate HTTP routes using ASP.NET Core. We will cover the following topics:
- Implementing the HTTP layer of a service
- Carrying out tests using the tools provided by ASP.NET Core
- Improving the resilience of the HTTP layer
The code presented in this chapter is available from the following GitHub repository: https://github.com/PacktPublishing/Hands-On-RESTful-Web-Services-with-ASP.NET-Core-3.