Light weight REST Web Services

by Brian Buck on 2009.12.01

This post is really a followup to the last JSON topic post. R&D has been going strong as of late. We have built a nice little prototype for scalable web services using Microsoft WCF for RESTful Web Services. Development and deployment is very straight forward. MS Visual Studio 2008 and 2010 beta provide the necessary project templates and use of 1-click deployment makes it a snap to host on IIS. One of the nicest features using WCF for REST WS is the ability to switch and/or overload resource methods to return XML, JSON or even ATOM feed formats. All this can be done using method attributes. That’s it! Additionally, through proper design and abstraction of data model classes we have built a seamless ADO.NET layer to connect to any data source on the backend.

See http://www.developer.com/article.php/3695436

One the client-side, we have demonstrated a cross-platform jQuery / Ajax library for consuming the REST WS. It works in IE, Firefox and mobile Safari on the iPhone. An Obj-C client library is in the works as I write this post.

More to come on this topic including links, resources and a full report on this effort. Happy coding!

Comments on this entry are closed.

Previous post:

Next post: