Senator Guerra Souty original series calendar,replica hublot blue steel peach pointer collocation of rolex replica Rome digital scale, track type minute replica watches scale shows that the classical model is swiss replica watches incomparable, wearing elegant dress highlights.
mr-ponna.com

 

YOU ARE HERE: HOME Questions What is Address Header in WCF



Address Header in WCF

View(s): 25222

What is Address Header in WCF?

Answer 1)

Address Header contains the information which is sent with every request, it can be used by either end point service or any intermediate device for determining any routing logic or processing logic. 

WCF provides AddressHeader class for this purpose. 

Example : 

AddressHeader addressHeader= AddressHeader.CreateAddressHeader("Name of the header", "Information included in header ");

Once the AddressHeader instance is created, it can be associated with end point instance as follows : 

EndpointAddress endpoint = new EndpointAddress(new Uri("http://myserver/myservice"), addressHeader);

  Asked in:  Deloitte   Expertise Level:  Experienced
  Last updated on Thursday, 26 September 2013
4/5 stars (12 vote(s))

Register Login Ask Us Write to Us Help