The WCF BindingBox is here!
What is it?
BindingBox is an online application that converts WCF bindings to a customBinding configuration.
Why we need it?
WCF bindings capture a general use case and allow us to customize it. For example, basicHttpBinding is good for interoperability with older soap stacks while WSHttpBinding fits WS-* based communication. However, there are cases where we can not use the out of the box bindings. For example:
In such cases we need to convert our binding into a custom binding. This is not a trivial process. In particular, some security settings can be very frustrating to translate.
For this reason I have written the WCF BindingBox. This is an online application which automatically converts any binding to a customBinding.
How to use it - Tutorial
Step 1 - Get your current binding
Just open your web.config or app.config file and navigate to the "<bindings>" element. Then copy its content to the clipboard. Be sure to copy the wrapping "<bindings>" element as well:
Step 2 - Convert your binding
Just navigate to the BindingBox and paste your binding from step 1. Then click on the "Convert to CustomBinding" button and copy to the clipboard your new binding. It may look like this:
Step 3 - Use the custom binding
Basically, you now just need to use the BindingBox result as your binding configuration.
In practice you would do it in one of the following ways:
Currently supported bindings
BindingBox currently supports these bindings:
More to follow
Stay tuned for these:
Please report any bug you find. Also feel free to submit an enhancement request.
There is also a nice story behind BindingBox: It uses cutting edge technologies such as Windows Azure and MEF. More to come on this...