Chapter 10. Building HTTP-based Web Services Using ASP.NET Web API
So far, we have learned how to create web applications using ASP.NET Core. But there are times when simply creating a web application is not enough. Let's assume you are using ASP.NET Core to create a web application that provides weather information for all the cities across the world. People access your web application to find out weather information, and they are satisfied with the service. But this weather information may be needed by many other websites or web applications, such as tourism websites, news websites, and many other mobile applications.
Instead of writing the code all over again for their websites, you can create and publish the web services and the websites can consume the required web services whenever they need to.
In this chapter, you are going to learn about the following topics:
- What an HTTP-based service is and how it is useful
- What Fiddler is
- How to compose an HTTP request using Fiddler...