Building RESTful Web Services with .NET Core
上QQ阅读APP看书,第一时间看更新

Building the Initial Framework – Laying the Foundation of the Application

In the last chapter, we talked about REST, its characteristics, and how it is implemented in ASP.NET Core. We will go ahead with that knowledge and set up the environment to develop an application in this chapter.

We will start building the basic framework of the app. We will understand each and every HTTP verb, how they work, and their implementation paradigms in ASP.NET Core Web API. Before all that, we will have a quick look at SOAP and how it is different from REST.

While we walk though the verbs, we will explore a very easy-to-use tool to analyze the HTTP requests and responses.

We will cover the following topics:

  • All about web services (REST and SOAP)
  • Running the development server
  • REST verbs and status codes
  • Implementation of verbs in ASP.NET Core Web API
  • Examples using Postman
  • SOAP versus REST
  • Single-page application model with REST API
  • Service-oriented architecture (SOA) overview with REST