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…


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 Extensibility – Operation Selectors

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,…

0

WCF scales up slowly with bursts of work

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…

4

WCF Extensibility – Message Formatters

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…

0

WCF Extensibility – IParameterInspector

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…

0

WCF Extensibility – Message Inspectors

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 are probably the most used extensibility points of the WCF runtime. Anytime you need to log, inspect, modify or completely replace a message, the two…

0

WCF Extensibility – Runtime

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. Before starting on the actual extensibility points for the WCF runtime (first post should be online tomorrow), I decided to write this quick introduction to the runtime itself….

0

WCF Extensibility - IOperationBehavior

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 last of the behavior interfaces in WCF is the IOperationBehavior. The scope of this one is limited to an individual operation, so one can have different operations…

0

WCF Extensibility – IEndpointBehavior

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 next behavior in the list is the IEndpointBehavior. Like the other ones, it can be used to inspect and change the endpoint description (which includes the contract…

0