Introducing WCF WebHttp Services in .NET 4
Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services.
WCF WebHttp Services is the flavor of WCF that is most appropriate for developers who need complete control over the URI, format, and protocol when building non-SOAP HTTP services—services that may or may not subscribe to RESTful architectural constraints. For the other technologies in the WCF services eco-system and the developer scenarios they best support, see here.
For those of you who have used WCF 3.5 or the WCF REST Starter Kit to build non-SOAP services, you’ll find that WCF WebHttp Services is the vehicle that brings these technologies forward to .NET 4. You’ll find the familiar programming model that uses [WebGet] and [WebInvoke] attributes to map an HTTP request to a WCF operation. But you’ll also find a number of new features in WCF WebHttp Services that make it even easier to build operation-centric or RESTful web services over HTTP.
For those of you who are new to WCF or who have only used WCF for building SOAP-based services in the past, you’ll find that this series of blog posts will bring you up to speed quickly on everything you need to know to start building non-SOAP HTTP services in which you have complete control over the URI, format and protocol.
To give you a sense of the features we will be covering in this series on WCF WebHttp Services in .NET 4, here is an index of the upcoming blog posts (we’ll update these links as the posts go public):
- Getting Started with WCF WebHttp Services in .NET 4
- Clients and the Automatic Help Page in WCF WebHttp Services
- Updating State in WCF WebHttp Services
- Automatic and Explicit Format Selection in WCF WebHttp Services
- Error Handling in WCF WebHttp Services with WebFaultException
- Using Routes to Compose WCF WebHttp Services
- Integrating ASP.NET Output Caching with WCF WebHttp Services
- Returning Custom Formats from WCF WebHttp Services
- Creating Views in WCF WebHttp Services with T4
- Conditional GET and ETag Support in WCF WebHttp Services
- Optimistic Concurrency Support in WCF WebHttp Services
- Guidance on Link Generation in WCF WebHttp Services
We’re really excited about the new features introduced with WCF WebHttp Services in .NET 4 and we look forward to hearing your feedback in the comments to the blog posts. Hope you find the upcoming blog post series both interesting and informative.
Randall Tombaugh
Developer, WCF WebHttp Services
Comments
Anonymous
February 04, 2010
This is a great series. Will HttpClient (currently part of WCF Rest Starter Kit Preview 2) become part of .Net 4?Anonymous
February 09, 2010
@anavgale: The HttpClient is not a part of .NET 4 but there is nothing to stop you from using it with .NET 4 code.Anonymous
February 26, 2010
The comment has been removedAnonymous
March 12, 2010
This series is really great. Waiting for the remaning 2 posts. In Web HTTP Service there is no request interceptors. I am doing the authentication in the request interceptor in .net 3.5 & WCF REST Starter kit. Now i upgraded to .net 4.0. Is there any way i can use the request interceptors or a better way for basic authentication in Web Http Service for doing it in a REST way. Thanks in advance, PradeepAnonymous
March 30, 2010
This series is great...when do you think posts 11 and 12 will be ready?