Building and Consuming Web Services
This chapter is about learning how to build web services (aka HTTP or Representational State Transfer (REST) services) using the ASP.NET Core Web API. You will then learn how to consume web services using HTTP clients, which could be any other type of .NET app, including a website or a mobile or desktop app.
This chapter requires the knowledge and skills that you learned in Chapter 10, Working with Data Using Entity Framework Core, and Chapters 12 to 13, about building websites using ASP.NET Core.
In this chapter, we will cover the following topics:
- Building web services using the ASP.NET Core Web API
- Creating a web service for the Northwind database
- Documenting and testing web services
- Consuming web services using HTTP clients