- 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.
- Learning Java Functional Programming
- Java 開發(fā)從入門到精通(第2版)
- Rust編程:入門、實(shí)戰(zhàn)與進(jìn)階
- PostgreSQL Cookbook
- C語言程序設(shè)計(jì)
- Swift 3 New Features
- JS全書:JavaScript Web前端開發(fā)指南
- 劍指Java:核心原理與應(yīng)用實(shí)踐
- PHP 7+MySQL 8動(dòng)態(tài)網(wǎng)站開發(fā)從入門到精通(視頻教學(xué)版)
- 用案例學(xué)Java Web整合開發(fā)
- 現(xiàn)代C++編程實(shí)戰(zhàn):132個(gè)核心技巧示例(原書第2版)
- Python程序設(shè)計(jì)與算法基礎(chǔ)教程(第2版)(微課版)
- Nagios Core Administration Cookbook(Second Edition)
- Tableau Desktop可視化高級(jí)應(yīng)用
- Java 7 Concurrency Cookbook