Web services are useful for providing data to client-side applications that are written with frameworks such as Angular or React. These applications are typically run in browsers and don’t require the HTML content that the rest of the SportsStore provides. Instead, these applications interact with the ASP.NET Core MVC application using HTTP requests and receive data formatting using the JavaScript Object Notation (JSON) standard.
In this chapter, I am going to complete the SportsStore application by adding a RESTful web service that can provide web ...