IMetadataExchange endpoint purpose

Posted by Paresh.Bijvani on Stack Overflow See other posts from Stack Overflow or by Paresh.Bijvani
Published on 2010-05-25T13:25:36Z Indexed on 2010/05/25 14:01 UTC
Read the original article Hit count: 489

Filed under:
|
|
|

What is the purpose of IMetadataExchange endpoint. Some places i found that if i dont define this endpoint, adding service reference will not work OR creating proxy using svcutil wont work. But both of this working without having IMetadataExchange defined.

If we have other endpoint with httpGetEnabled = true, we are able to create proxy from client.

Also, some article says that we should delete IMetadataExchange before moving code to production and it should development period only so that other client cant see metadata. Doesnt this stop the behaviour of service having self describing itself?

And if I have defined this IMetadataExchange endpoint, how can i see that on browser. Address whoch i have provided for this endpoint is not pulling any metadata in browser.

© Stack Overflow or respective owner

Related posts about c#

Related posts about wcf