Using DataContracts with WCF Web API

A few folks have been asking if it is possible to serialize/deserialize using the DataContractSerializer. Rest assured, yes it is possible. Now whether or not it is the easiest/most intuitive model well that it is a different question. If you read to the end the post you will see a bunch of extensions which have…


WebSockets, RIA/JS and WCF Web API at MIX, a whole lotta love for the web

MIX was indeed a busy time for the WCF Team. We delivered several talks, and released several shiny new toys to the community for folks that are building web-based systems. WebSockets Craig Kitterman of our Interoperability group, and Paul Batum, whom you might know of from his work on Fluent NHibernate gave a talk: Hot…


WCF Web APIs Roundup – Volume 1

A little over a month ago we launched our new WCF Web Apis on Codeplex. Since then a bunch of folks in the community (and some internal folks) have been posting about their own explorations / thoughts of the new bits. it’s great to see the work that they are doing! I am going to…

0

Taking HTTP support in WCF to the next level

If you are building for the web and the cloud, then you know that HTTP is important. WCF is no stranger to HTTP. Since .NET 3.5, we’ve been continually delivering capabilities in the platform to enable developers to expose services as resources over HTTP. Now we’re looking to raise the bar several notches. At PDC,…

0

Conditional GET and ETag Support in WCF WebHttp Services

This is part ten of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4.  In this post we will cover: Generating and including ETags in responses from a WCF WebHttp Service  Adding Conditional GET support to a WCF WebHttp Service using ETags Over the course of this blog post…

0

Creating Views in WCF WebHttp Service with T4

This is part nine of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4.  In this post we will cover: Learning the basics of T4 (Text Template Transformation Toolkit) Using T4 to create views in WCF WebHttp Services for text-based content Over the course of this blog post series,…

0

Returning Custom Formats from WCF WebHttp Services

This is part eight of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4.  In this post we will cover: Using the new WCF WebHttp Services API for content negotiation Returning content with custom formats in addition to XML and JSON Configuring WCF WebHttp Services with the WebHttpEndpoint Over…

0

Integrating ASP.NET Output Caching with WCF WebHttp Services

This is part seven of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4.  In this post we will cover: Creating ASP.NET cache profiles in configuration for use with WCF WebHttp Services Using the [AspNetCacheProfile] attribute to associate service operations with cache profiles Over the course of this blog…

0

Using Routes to Compose WCF WebHttp Services

This is part six of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4.  In this post we will cover: Composing multiple WCF WebHttp Services into a single web service Using ASP.NET routes with WCF WebHttp Services Over the course of this blog post series, we are building a…

0

Error Handling in WCF WebHttp Services with WebFaultException

This is part five of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4.  In this post we will cover: Handling Errors with the WebFaultException class Over the course of this blog post series, we are building a web service called TeamTask.  TeamTask allows a team to track tasks…

0