0

How do I write custom binding for WCF Service and include it with the service. I need to do it with code not in config file.

If I write a custom binding then how do I include the new binding in my WCF Service? Currently I know how to do it in config, but how do I do this in code? or after creating custom binding then how do I make my WCF service to use the new binding?

blue
  • 833
  • 2
  • 12
  • 39
  • 1
    http://msdn.microsoft.com/en-us/library/aa347793.aspx – Robert Harvey Apr 09 '12 at 18:17
  • If I write a custom binding then how do I include the new binding in my WCF Service? Currently I know how to do it in config, but how do I do this in code? or after creating custom binding then how do I make my WCF service to use the new binding? – blue Apr 09 '12 at 19:17

0 Answers0