2

I need to create a REST API that runs on IIS and played with WCF Web Api. It seems to be able to do everything I want, in contrast to plain WCF or the now deprecated WCF starter kit. I haven't really tried those, but conneg seems to be hard or impossible, and that's a deal breaker, as conneg is one of the many nice orthogonally designed features of HTTP and hence, REST-on-HTTP, that I intend to fully use to my advantage.

Question: As currently there is only a "Preview 4" version out (April 2011), and I could not find much on when MS expects to release it (except an impression it will be either this year or next year) - Should I use it already?

Especially as the source code is there and I could - worst case - go in and modify and build that myself, it almost feels safe to go production with a - well-tested - preview build.

Some more details: I want to start creating prototypes this week and the REST API will end up on production machines in a matter of a few months (this year). I expect the API to still change a little bit, and checking the activity on codeplex it seems to be under active development, but I'm fine with changing my code alongside those changes.

Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156

2 Answers2

5

Web Api is in active development, and we are revving for a Preview 5 release shortly. As a matter of fact if you head over to codeplex you will see several recent commits to prove my statement.

In terms of when we will release, we can't say that at this point. However we are on a committed train to release and as we are releasing out-of-band similar to the framework, that gives us much more flexibility.

At Build next week, you'll hear more announcements about web api / our roadmap.

As to creating prototypes, there is no problem in doing that. We have several customers that are depending on the web api bits both internally and externally. As long as you understand that the bits are in development / will change, and that there is no guaranteed support on each drop (other than through codeplex) you are free to use the bits. The one restriction license wise is you cannot deploy them outside your company while they are in development.

Thanks Glenn

Glenn Block
  • 8,463
  • 1
  • 32
  • 34
  • Thanks Glenn, you answered everything I need to know. The license restriction might be an issue, will have to wait for your announcement next week and then see. – Evgeniy Berezovsky Sep 07 '11 at 07:59
  • Btw I had seen the activity and am really happy that this project is being worked on actively, as I think it's making things a _lot_ easier for RESTafarians while at the same time being flexible. Keep up the good work, Glenn! – Evgeniy Berezovsky Sep 07 '11 at 08:24
  • 1
    Temporarily removed the 'accept' flag - just for clarification, by "you cannot deploy outside your company", do you mean "sell/rent/give the product to other companies" like clients who would then install it in their environments or does that also include "roll out to PROD" for consumption outside the company? – Evgeniy Berezovsky Sep 07 '11 at 09:14
  • Damnit, the 'removed accept flag' extortion did not elicit an answer ;) - but the license is there http://wcf.codeplex.com/license and it's short. So here are the important bits: "(a) within your company for the purposes of designing, developing and testing your products for use with the software, and (b) in a live operating environment to allow your customers to use, via a web interface, your products that need the software to run. [..] specifically excludes the right to distribute the software outside of your company" – Evgeniy Berezovsky Sep 08 '11 at 08:36
  • 1
    Build conference is over, but I can't find any update on the timetable. Has there been any announcement in that matter? – Evgeniy Berezovsky Sep 26 '11 at 02:22
3

How about (non-WCF) alternatives that have already been released like OpenRasta?

Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156
  • 1
    I second that opinion, especially as we've been in the wild for years and our API is well-known, stable and not broken. – SerialSeb Sep 11 '11 at 02:19