How to: Implement a WCF Asynchronous Service Operation with Task<T>

I love Task<T>.  It has to be one of the finest innovations in the framework in the past few years.  Recently I was reviewing some old WCF documentation How to: Implement an Asynchronous Service Operation which was probably written in 2006 and I have to say that we can do a much better job of…

5

How to handle the trailing slash in a WCF HTTP Service

The other day I got this tweet from Adam @ronljacobs anyway to do something like: [WebGet(UriTemplate = "{id}", IgnoreTrailingSlash = true)] want {id} and {id}/  to be the same Off hand I didn’t know the answer but now that I’m back from Tech-Ed I decided to take a look at the problem. I went to…

0

How to eliminate tempuri.org from your service WSDL

tempuri.org is the default namespace applied to WCF Services and Workflow Services.  You can and should specify your service namespace. It is recommended that you explicitly specify a name and namespace for the service contract, and an action for each operation to avoid using "http://tempuri.org" and to prevent interface and method names from being exposed…

0

WCF and AppFabric Auto-Start

Auto-start is a really cool feature of Windows Server AppFabric.  Recently I was asked about how you can do some kind of process initialization in your code with Auto-start (which the documentation implies that you can do).  This led to a discussion with a number of questions that we want to address What does Auto-start…

0

How to make a WorkflowService implement a contract

You may have noticed that WorkflowServices have two ways of operating.  One way is to pass message content and the other way is to use message parameters.  I have always used message content because it seemed like the easiest thing to do. Download the Sample Code on MSDN Code Gallery Today I wanted to write…

2

AppFabric-enabled WCF Data Service Walkthrough (C#)

In this walkthrough I’ll show you how to use the AppFabric-enabled WCF Data Service (C#) template for Visual Studio 2010 to enhance your WCF Data Services by providing Monitoring events and errors to the AppFabric Data Store Eliminating the need to use the .svc extension in your URI Requirements Visual Studio 2010 .NET Framework 4…

0

Make WCF Simpler

If there is one thing I hear from people over and over again it is this.  Please make WCF simpler, easier to understand and use.  I totally agree with this sentiment.  In fact, in .NET 4 we made it much easier but we still have a long way to go.  Once in a while each…

0

Ready to learn more about REST with WCF?

Now that the WCF REST Starter Kit is out I’m happy to say that we have provided some great resources for learning all about it. Aaron Skonnard has put together a terrific set of screencasts for endpoint.tv to give you a great introduction to REST with WCF and the WCF REST Starter Kit endpoint.tv Screencast…

2