Reputation: 10863
I see in this question that WCF Web API is still in preview and I've just started looking at OpenRasta.
Though OpenRasta looks more mature than WCF Web API, I'm still a bit confused. Or please suggest if there is any other better framework for building REST API on .NET stack.
Also, I observed that in OpenRasta aspx view
containing HTML can also be rendered as a response (in ASP.NET MVC fashion) apart from other JSON/XML representations. So, is it that I can even (or it is recommended that I should) build a web application which will also serve as a service layer to 3rd party client developer using it? Or it is just for use as a service layer?
Upvotes: 7
Views: 2218
Reputation: 6766
OpenRasta works for both services and html sites, it's what it was built for. There's codecs for webforms, razor, sparkview and new ones are easy enough to just plugin.
Upvotes: 2
Reputation: 141994
OpenRasta is much more mature than WCF Web API. OpenRasta is an opinionated REST framework. WCF Web API currently has no opinions on how you should do REST, it only has opinions on how you use HTTP.
If you share OpenRasta's opinions on how to do REST then it will do a great job for you. WCF Web API is still a preview. It has great potential but there is still a long way to go.
Upvotes: 9
Reputation: 75063
please read a closed question
Video with the question and answers, use the PAUSE to hold the scroll and read it.
--
Err, It's been deleted though I can see deleted questions, let me make a screenshot of it.
Upvotes: 4