Year: 2011

Over the last year you’ve heard us talking about both Windows Azure AppFabric and Windows Server AppFabric. Today we are adding our final post to the .NET endpoint team blog and announcing the new AppFabric Team blog. This blog will be the home of content about all things AppFabric from Service Bus to Caching to…

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…

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…

This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page. We’re now entering the realm of the less used extensibility points for the WCF runtime. Operation selectors could well be left as an internal implementation detail for WCF,…

When designing a custom activity that can be used as a container for other activities, you may want to restrict the activity user to a certain set of activities. If the custom activity can only accept a single type, this can be implemented quite simply by setting the WorkflowItemPresenter.AllowedItemType or WorkflowItemsPresenter.AllowedItemType property. In this example,…

When I first saw NuGet I knew I had to find a way to take advantage of this great new way to deliver code to you. It took a few months but finally the other day I decided to spend an afternoon working on a NuGet package for Microsoft.Activities. Two and a half days later…

A few customers have noticed an issue with WCF scaling up when handling a burst of requests. Fortunately, there is a very simple workaround for this problem that is covered in KB2538826 (thanks to David Lamb for the investigation and write up). The KB article provides a lot of good information about when this would apply to…

This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page. Message formatters are the component which do the translation between CLR operations and the WCF Message object – their role is to convert all the operation parameters and…

This post is part of a series about WCF extensibility points. For a list of all previous posts and planned future ones, go to the index page. The message inspectors, described in the previous post of this series, allows you complete control over the message going through the WCF stack. They’re very powerful, but you…