Web Services Using ASP.NET Core Web API
Learn about the foundational concepts for building modern web services: HTTP, RESTful principles, common HTTP requests/responses, and status codes for success and failure.
We'll cover the following...
We'll cover the following...
Before we build a modern web service, we need to cover some background to set the context for this chapter.
Understanding web service acronyms
Although HTTP was originally designed to request and respond with HTML and other resources for humans to look at, it is also good for building services. Roy Fielding stated in his doctoral dissertation, describing the Representational State Transfer (REST) architectural style, that the HTTP standard would be good for building services because it defines the following:
URIs to uniquely identify resources, like:
Press + to interact
https://localhost:5001/api/products/23
Methods to perform common tasks on those resources, ...