官术网_书友最值得收藏!

Building REST APIs with ASP.NET Core Web API

REST is an architectural style for implementing communication between the application client and server over HTTP. RESTful APIs use HTTP verbs (POSTGET, PUT, DELETE, and so on) to dictate the operation to be performed (Create, Read, Update, Delete) by the server on the domain entity. The REST style has become the de facto standard for creating services in modern application development. This makes it easy to use and consume services in any technology and on any platform, such as web frontends, desktop applications, or other web services.

In this chapter, you'll learn how to create RESTful APIs using ASP.NET Core. We will cover the following topics:

  • An overview of REST APIs with the ASP.NET Core API
  • Inspecting and debugging your API with Postman and Fiddler
  • Defining routing rules in your API
  • Binding data into model types and validating them
  • Generating a response for different types

We'll first start with an overview of how REST APIs are implemented in ASP.NET Core.

主站蜘蛛池模板: 东阿县| 黄龙县| 吉林省| 连平县| 江门市| 玉林市| 明光市| 巨野县| 平原县| 囊谦县| 六安市| 景泰县| 祁东县| 乌兰县| 文昌市| 黄陵县| 通许县| 施秉县| 宁明县| 宁德市| 定兴县| 通城县| 拉孜县| 建始县| 永仁县| 拉萨市| 巴塘县| 德格县| 华亭县| 乌兰浩特市| 宁强县| 咸丰县| 高台县| 鲁甸县| 西宁市| 邮箱| 承德市| 旺苍县| 秦安县| 河南省| 尼木县|