WCF Web API Preview 4 (now ASP.NET Web API)

Rating:        Based on 3 ratings
Reviewed:  3 reviews
Downloads: 5661
Change Set: 27fc5d70d895
Released: Apr 14, 2011
Updated: Feb 17, 2012 by danroth27
Dev status: Beta Help Icon

Downloads

Application WCF Web API Preview 4 - 04.04.2011.zip
application, 5059K, uploaded Apr 14, 2011 - 5661 downloads

Release Notes

Announcement: WCF Web API is now ASP.NET Web API! ASP.NET Web API released with ASP.NET MVC 4 Beta. The WCF Web API and WCF support for jQuery content on this site wll removed by the end of 2012.

Welcome to the fourth release of WCF Web API on codeplex

Note: Moles is required for running all of the unit tests

New Features

  • New message classes HttpResponseMessage<T> / HttpRequestMessage<T> allows accessing headers and using a strongly typed model.
  • Uri parameters can now autocast to primtiive types, i.e. a uri template of "{id}" can map to an integer parameter of id.
  • Matching of parameters is now by type if there is no match on name, ie. HttpRequestMessage req will work.
  • New Operation Handlers which replace processors and dramatically improve the authoring
  • New Formatters for plugging in custom media types
  • New Message Handlers for low level control over HTTP
  • Support for Form Url Encoding / Json and Xml out of the box.
  • IQueryable support with IQueryable<T> and without requiring attributes
  • Overhauled fluent API for configuration
  • Unit tests*
  • Newer HttpClient
  • New samples
  • ContactManager is now a fully client based AJAX / JQuery application
  • new ContactManager_Simple illustrates the bare basics.
  • new HelloResource sample
  • Acceptance and Unit tests for some of the samples

Known Issues

  • Not tested with MVC3
  • Automatic help pages do not work

Release quality gates

  • The code builds.
  • Public APIs are documented using XML comments, binary release includes intellisense comments. (Does not apply to protoypes)
  • Unit tests are passing.
  • Samples are running.
  • Product components are compliant with Microsoft All Rules for FxCop. (Does not apply to prototype code (Enhancements))

Reviews for this release

     
A really promising tool that eliminates all the pain of WCF configuration. Even makes it really simple and intuitive to extend the behavior of your service compared to a standard WCF service.
by Thern on Apr 18, 2011 at 12:05 PM
     
Stellar work so far. Already in process of refactoring a RESTful site in MVC...
by swingsetacid on Apr 15, 2011 at 9:06 PM
     
Http awesomeness all around.
by DarrelMiller on Apr 14, 2011 at 10:13 PM