开发者

Ruby on Rails API that functions similar to WCF does on ASP.NET [closed]

开发者 https://www.devze.com 2023-03-10 03:25 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question

Is there an API similar to WCF for R开发者_如何学Gouby on Rails? WCF has a lot of advantages and is a very easy method to have a service running and clients using it. I want to know if there is an API similar to WCF for the Ruby on Rails platform


Ruby on Rails uses RESTful web services by default, and you can easily generate routes and controller actions for these "out of the box". Like WCF, Rails supports both JSON and XML formats for data transfer.

If you need to support SOAP, there are Rails ad-ons, such as savon.

ian.

0

精彩评论

暂无评论...
验证码 换一张
取 消