Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7697803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:05:43+00:00 2026-05-31T22:05:43+00:00

Or is Rails by itself just good for developing APIs? It seems that ASP.NET

  • 0

Or is Rails by itself just good for developing APIs?

It seems that ASP.NET Web API project types have some history intertwined with WCF (as is detailed in this post for example), so maybe it’s not applicable to Rails.

UPDATE

To clarify, Microsoft has the ASP.NET MVC framework. Recently, they came out with a framework called ASP.NET Web API. ASP.NET Web API seems to have similarities to ASP.NET MVC, but is specialized and trimmed down for RESTful web services. Is there an equivalent in the Ruby/Rails space?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:05:44+00:00Added an answer on May 31, 2026 at 10:05 pm

    So, the answer is Yes to both questions. Rails does have an equivalent and its Rails.

    ASP.NET Web API looks like at it’s heart is just a RESTful router with type negotiation. I could be totally off base here, but from the tutorials I saw that’s what it looked like to me.

    So yes, from what I can tell, Rails supports most of the things that the Web API was created for. In fact in Rails most of this stuff is forced onto you until you become informed enough to be able to change it (assuming by that point you know better than to actually do that).

    But, as far as Web API functionality. That really comes from the ability to support HTTP verbs (GET, POST, PUT, DELETE) which Rails does.

    But a source of confusion might be that in Rails the RESTful API is actually the application itself. Meaning you don’t need to implement any other libraries, it’s just built that way.

    Here’s a quick example of that I mean
    When you hit /users/1 you will get the data associated with that user depending on the format you requested. So if you request JSON the controller returns JSON, HTML you get HTML, XML you get XML, etc. (As long as said format is implemented for that resource)

    A good overview of what I’m talking about are in these two sections:
    Rails Guides::Controller: Rendering xml and json data
    Rails Guides::Routing: Resources on the Web

    So you could build a website, API, or both in a Rails app and they would all start the same way.

    But from my limited knowledge on the matter, I would say a ASP.NET MVC with ASP.NET Web API program is actually a lot more like a Rails Program than the regular ASP.NET MVC programs that came before them.

    Or it’s all just a clever ploy to get as many Capital Letters in a title as humanly possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a rails app that makes web api call , the rails app
Rails is a great platform, but it just doesn't have the history that Perl
Rails has a nice idiom that makes it easy for you to have a
I have a jruby rails app and I've just started using bundler for gem
I have inherited a Rails 3 application with a cookie/session problem. Namely, something seems
HI all I just recently installed rvm and all that good stuff on my
I'm implementing several classes which does not have data by itself, just logics. These
I have a Rails 3 gem which has some rake tasks that should only
I have a form in my rails 3 app that is used to create
Just started using carrierwave with Rails and things have been going smoothly with one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.