Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a silverlight application with 2 WCF services(2 .svc files). Even after I disable the service metadata post, I can still see the service links. For security reason, what I like to show is : Metadata publishing for this service is currently disabled. The following is what I put in my web.config file. No matter what I tried, the service link is always displayed and accessed. Any help will be greatly appreciated!

1.Remove the endpoint configuration for the contract IMetadataExchange

2.Set serviceMetadata httpGetEnabled=false under behaviors\serviceBehaviors\behavior section.
Posted
Comments
Eugene Sadovoi 4-Apr-12 15:42pm    
It would help if you post content of your config file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900