In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what is the concept behind the WCF REST architecture". In the daily operation, I believe many people have doubts about what is the concept behind the WCF REST architecture. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "what is the concept behind the WCF REST architecture"! Next, please follow the editor to study!
Different people seem to have different definitions of REST, some of which are very strict, while others are relatively liberal. I tend to think that the WCF REST architecture exists in a continuous scope, as shown in the figure:
We can think of the basic ideas behind the WCF REST architecture as follows:
◆ is as simple as possible.
◆ Web has been very successful.
◆ Web is very simple.
◆ Web is designed to follow guiding principles that have been reliable for a long time in the past.
◆ Web services are designed in a Web manner.
Different people have different definitions of REST, but it is certain that there are some characteristics that affect whether a service is RESTful, or whether it can be considered RESTful, or whether it can fall somewhere in the continuous range above. Some (but not all) features are listed here:
◆ 's rational use of the HTTP method (GET,PUT,POST,DELETE is the main HTTP method)-the HI-REST side tends to be strict about the use of specific methods in specific situations. For example, an implementation of HI-REST uses the GET method to get, the DELETE method to delete, the PUT method to insert or update, and the POST method to attach. LO-REST 's solution may use the POST method for insert, update, delete and attach operations.
◆ 's choice of data representation-HI-REST solutions tend to choose standard data representations, while some LO-REST solutions think POX is also a good choice.
◆ 's use of well-constructed URI-HI-REST solutions tend to use descriptive URI rather than query strings, which we can see in some LO-REST solutions.
◆ other: the payload contains links to relevant information, using the appropriate HTTP response code.
I didn't give a strict definition of what REST is, not because I don't think it's important. The reason is that, from a WCF point of view, a specific definition does not matter. WCF supports REST architectures (HI-REST and LO-REST) on both sides of the scope.
At this point, the study of "what is the concept behind the WCF REST architecture" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.