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

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.

主站蜘蛛池模板: 海安县| 银川市| 南投市| 郧西县| 遂宁市| 格尔木市| 湄潭县| 山丹县| 左贡县| 织金县| 连州市| 凯里市| 南平市| 曲周县| 龙胜| 镇远县| 德清县| 白山市| 拉孜县| 邵武市| 红河县| 阿坝县| 莲花县| 平山县| 双辽市| 金阳县| 喀喇沁旗| 雷州市| 视频| 崇义县| 柞水县| 广宗县| 淄博市| 宁陵县| 华池县| 抚远县| 库车县| 蛟河市| 正阳县| 孟州市| 达州市|