简体   繁体   English

用于WCF的RESTful Web服务的示例

[英]Samples for RESTful web services for WCF

I am new to RESTful web services in WCF, but not new to WCF. 我是WCF中RESTful Web服务的新手,但不是WCF的新手。 I want to develop some simple RESTful web services in WCF which manually be accessed from a browser. 我想在WCF中开发一些简单的RESTful Web服务,可以从浏览器手动访问。 Any good samples or documents to recommend? 有什么好的样品或文件可以推荐吗? I am using C#. 我正在使用C#。

Aaron Skonnard of PluralSight has a bunch of great little screencasts on Channel9 and is probably the best intro I've seen - you'll probably do well to have some WCF experience first - those coming from the world of SOAP will pick it up easier. PluralSight的Aaron Skonnard在Channel9上有一些很棒的小截屏,可能是我见过的最好的介绍 - 你可能会先做一些WCF经验 - 来自SOAP世界的那些将更容易上手。

http://channel9.msdn.com/shows/Endpoint/endpointtv-Screencast-Building-RESTful-Services-with-WCF/ http://channel9.msdn.com/shows/Endpoint/endpointtv-Screencast-Building-RESTful-Services-with-WCF/

Also, stick this in Bing 另外,坚持在Bing

restful site:msdn.com restful site:msdn.com

UPDATE UPDATE

This answer still gets votes, so I thought it would be good to update it with recent changes. 这个答案仍然得到了投票,所以我认为用最近的更改来更新它会很好。 Basically, the WCF team have joined forces with the ASP.NET MVC community to bring REST to the Microsoft stack via ASP.NET MVC 4 Web API, so I guess the WCF REST stuff will not be developed from 2012 on. 基本上,WCF团队已经与ASP.NET MVC社区联手,通过ASP.NET MVC 4 Web API将REST引入Microsoft堆栈,所以我想WCF REST的东西将不会从2012年开始开发。

http://wcf.codeplex.com/wikipage?title=WCF%20Web%20API%20is%20now%20ASP.NET%20Web%20API http://wcf.codeplex.com/wikipage?title=WCF%20Web%20API%20is%20now%20ASP.NET%20Web%20API

I wrote a short blog post showing how to build REST services using WCF (sample code included). 我写了一篇简短的博客文章,展示了如何使用WCF构建REST服务(包括示例代码)。 Keep in mind this example does not use the REST Toolkit released by Microsoft. 请记住,此示例不使用Microsoft发布的REST工具包。

您还可以参考一个示例,从这里创建并获得非常基本的restful服务的帮助

Some one wrote a short blog post showing how to build REST services using WCF (sample code included). 有人撰写了一篇简短的博客文章,展示了如何使用WCF构建REST服务(包括示例代码)。

http://www.codeproject.com/Articles/201901/CREATE-RESTful-WCF-Service-API-Using-POST-Step-By http://www.codeproject.com/Articles/201901/CREATE-RESTful-WCF-Service-API-Using-POST-Step-By

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM