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

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.

主站蜘蛛池模板: 台北县| 昌都县| 淮南市| 扶绥县| 贡嘎县| 松桃| 乌兰察布市| 商南县| 察雅县| 汉中市| 宕昌县| 祁连县| 中牟县| 上林县| 黄浦区| 怀柔区| 巧家县| 津市市| 余姚市| 买车| 贵德县| 佛山市| 尚义县| 桃园县| 平武县| 鹿邑县| 铜山县| 故城县| 上饶县| 洛浦县| 勃利县| 皋兰县| 永新县| 陇西县| 惠安县| 邵阳市| 内江市| 湟中县| 佛教| 肇源县| 长垣县|