Thursday, March 24, 2011

How can I customize my WCF service to use DataContractSurrogate only in one EndPoint?

Hi,

In my wcf service, I am interested in using DataContractSurrogate while exposing the ServiceContract in a particural EndPoint(e.g. WebHttpBinding).

  1. How can I do it ? Implementing IEndpointBehavior?
  2. In addition to that,do I need to implement IWsdlExportExtension?

Thanks,
Adil

From stackoverflow

0 comments:

Post a Comment