根据 wikipedia术语 REST 是
REST can be considered the architectural style for the World Wide Web. The architectural style was developed in parallel to the HTTP/1.1 protocol, based on the existing design of HTTP/1.0
REST 实践在很久以前就随着 HTTP 的发展而开始。如果我正确理解了防御,我们就可以利用现有技术,并可以在其之上构建 REST 服务。
我的要求是在 .Net 2.0 之上构建 RESTFul 服务(我知道这在 WCF 中很容易实现,但目前我没有那么奢侈)。
这可能吗??
如果可能请指点我一些 工作示例..
互联网上有没有博客或著作 涵盖了这个的实现 方法..?
编辑:
我忘了提这个。
- 是否可以从 javascript 使用 REST 服务??
提前致谢
最佳答案
有一本书restful .net
为客户试试这个:http://developer.yahoo.com/dotnet/howto-rest_cs.html例如
编辑:反射(reflect)评论:
我找到了这个 article关于如何使用 http 处理程序进行 Restful 服务。
以及如何consume via javascript .
关于asp.net - 使用 .Net 2.0 框架的 REST 服务和 JavaScript 中的 REST 消费,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1333876/