This is a mirror of official site: http://jasper-net.blogspot.com/

Programmatically finding Binding Elements in WCF Binding

| Sunday, February 27, 2011
Binding is one of the important aspect of WCF Programming. It deals with, “How Service and client will talk to each other?” Binding is made up of different binding elements. When different binding elements are stacked together they form a Binding. Different binding types are made up of different binding elements.

Always a question arises that, “What are the different binding elements of a particular binding? “ And we can find solution of above question through code. What all we need to do

1. Create instance of Binding
2. Enumerate through Binding elements.

We are going to create console application to enumerate through all the binding elements in a binding. Add below references in console application project,

We are going to write a function. This function will take object of a Binding as input parameter and prints all the binding elements.

clip_image003_thumb4.jpg?w=572&h=179

Read more: DEBUG MODE……

Posted via email from Jasper-net

0 comments: