Bindings specify how a Windows Communication Foundation (WCF) service
endpoint communicates with other endpoints. At its most basic, a binding must specify the transport (for example, HTTP or TCP) to use.
You can define or configure bindings through
code or configuration. These two approaches are independent of the type of binding used.
Using code gives you complete control over the definition of a binding when you compile. Note that if the binding is defined in code, it overwrites any configuration-based definitions made in the configuration file.
In Short, there are two approaches in your case: Binding can be defined using either "code" way,
http://msdn.microsoft.com/en-us/library/ms731758(v=vs.100).aspx
OR
using Configuration way, which will allow a system administrator or the user of a WCF service or client to change the parameters of bindings,
http://msdn.microsoft.com/en-us/library/ms734663(v=vs.100).aspx
More on Bindings:
http://msdn.microsoft.com/en-us/library/ms733865(v=vs.100).aspx
http://hashtagakash.wordpress.com/
Riyazhaider, if this helps please login to Mark As Answer. | Alert Moderator