简体   繁体   English

使用C#构建REST服务

[英]Building a REST service with C#

How can i build a REST service with C#.net? 如何使用C#.net构建REST服务?

Is there any articles I can check? 有没有我可以检查的文章?

Google results return C# REST client but I d like to build one. 谷歌的结果返回C#REST客户端,但我想建立一个。

You can build this with WCF. 您可以使用WCF构建它。

Check out the resources on MSDN for lots of information on the subject. 查看MSDN上的资源,了解有关该主题的大量信息。 Especially A Developer's Guide to the WCF REST Starter Kit . 特别是WCF REST入门套件的开发人员指南

Use one of the REST frameworks for .NET. 使用.NET的REST框架之一。

See for example OpenRasta . 例如,参见OpenRasta

我在REST上阅读过的最好的文章之一就在这里: http//shouldersofgiants.co.uk/Blog/? tag = /restful& page = 2

我推荐你的南希框架,受Sinatra(Ruby)的启发: http//nancyfx.org/

MSDN Library上的WCF REST程序教育内容。

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

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