16

Building and Consuming Web Services

This chapter is about learning how to build web services (aka HTTP or REST services) using the ASP.NET Core Web API and consuming web services using HTTP clients that could be any other type of .NET app, including a website or a mobile or desktop app.

This chapter requires knowledge and skills that you learned in Chapter 10, Working with Data Using Entity Framework Core, and Chapters 13 to 15, about practical applications of C# and .NET and building websites using ASP.NET Core.

In this chapter, we will cover the following topics:

  • Building web services using ASP.NET Core Web API
  • Documenting and testing web services
  • Consuming web services using HTTP clients
  • Implementing advanced features for web services ...

Get C# 10 and .NET 6 – Modern Cross-Platform Development - Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.