- Mastering ASP.NET Web API
- Mithun Pattankar Malendra Hurbuns
- 259字
- 2021-07-02 20:52:28
Summary
We looked at the definition of REST and how REST is derived. When you look at the REST architecture, you should be able to depict it in three categories, as explained by Roy T. Fielding. One, the process view, describes how data flows from the client to the several components. Two, the connector view is specific to the exchanging of messages between components specific to resources and resource identification. Three, the data view of how the data that we referred to as representations is transmitted from the server to the client. It is very important to have a good understanding of the REST principles and that REST was applied to HTTP 1.0 in order to derive HTTP 1.1.
HTTP is a living example of the REST principles. Actions such as GET and POST are stateless, which is a principle of REST. The examples show how to construct an HTTP request and what the server sends back as a response. With HTTP/2, we have new features coming through, which makes our transfer speed much faster and our applications more responsive.
The Richardson maturity model explains how APIs are classified; as a developer, you should aim for a level 3 model. If you are a consumer of an API, perhaps you need to choose between several options. RMM will help you make this informed decision.
In this chapter, we did not focus on specific technologies; in the next chapter, we will delve deeper into the ASP.NET Core and what it offers as a framework in order to build web APIs.
- HornetQ Messaging Developer’s Guide
- Python量化投資指南:基礎、數(shù)據(jù)與實戰(zhàn)
- 深入淺出Android Jetpack
- Functional Programming in JavaScript
- TypeScript圖形渲染實戰(zhàn):基于WebGL的3D架構與實現(xiàn)
- Java設計模式及實踐
- 重學Java設計模式
- Julia高性能科學計算(第2版)
- Java高并發(fā)核心編程(卷1):NIO、Netty、Redis、ZooKeeper
- 軟件測試分析與實踐
- Drupal 8 Development Cookbook(Second Edition)
- Java語言程序設計實用教程(第2版)
- Scala實用指南
- WCF 4.5 Multi-Layer Services Development with Entity Framework(Third Edition)
- 區(qū)塊鏈原理與技術應用