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

1

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…

2

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…

3

WCF Extensibility – IContractBehavior

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. Going down the list of behaviors, the second one to be covered is the IContractBehavior. Like the other ones, it can be used to inspect or change the…

1

WCF Extensibility – IServiceBehavior

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 first behavior covered in this series is the IServiceBehavior. It can be used to inspect or change the entire service description and runtime. For example, to collect…

7

WCF Extensibility – Behaviors

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 first part of this series will focus on the behaviors. There are four kinds of behaviors, depending on the scope to which they apply: service, endpoint, contract…


WCF Extensibility

Over the next months I intend on writing a series of posts about the (many) extensibility points from WCF (up to .NET Framework 4.0). The cadence should be around one new post every 1-2 weeks (depending on the workload I have at work). WCF is a very powerful framework for creating distributed, service-oriented applications, and…

28

Changing prefixes in XML responses for WCF services

When responding to requests using any of the text/XML bindings (BasicHttpBinding / WSHttpBinding / CustomBinding with a TextMessageEncodingBindingElement), WCF has some specific prefixes which it uses corresponding to a certain namespaces. The SOAP namespace (“http://www.w3.org/2003/05/soap-envelope” for SOAP 1.2, “http://schemas.xmlsoap.org/soap/envelope/” for SOAP 1.1), for example, is always mapped to the prefix “s”. This is usually not…

7