Chapter 10: Creating an ASP.NET Core 5 Web API
In recent times, web services have become an important part of web application development. With ever-changing requirements and increased business complexity, it is very important to loosely couple various components/layers involved in web application development, and there is nothing better than decoupling the user interface part of the application with the core business logic. This is where the simplicity of web services using the RESTful approach helps us to develop scalable web applications.
In this chapter, we will learn how to build RESTful services using an ASP.NET Core web API and, along the way, we will build all the required APIs for our e-commerce application.
In this chapter, we will cover the following topics in detail:
- Introduction to Representational State Transfer (REST)
- Understanding the internals of an ASP.NET Core 5 Web API
- Handling requests using controllers and actions
- Integration with the...