How to stop clients from referencing your service

J.D. Meier, Jason Taylor, Prashant Bansode, Carlos Farre, Madhu Sundararajan, Steve Gregersen.

To stop your clients from referencing your service, stop your service from publishing its metadata. To do this, remove all the Mex endpoints from your service configuration and configure HttpGetEnabled and HttpsGetEnabled to false in the ServiceBehavior section as shown below:
<serviceMetadata httpGetEnabled="False" httpsGetEnabled="False"/>

Last edited May 8, 2008 at 3:20 AM by prashantbansode, version 1

Comments

No comments yet.