• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 445
  • Last Modified:

Do I need expose metadata even...?

I wrote wcf serivce and consume it. Do I need to expose metadata over mex endpoint. Why need to expose the metadata. Is it compusory because I am not generating any proxy (using svcutil, add service reference or any other). I am consuming through channelfactory.

So my question
1) Is it compulsory to expose metadata even I don't want to generate proxy
2) What are the effect with and without metadata endpoint

Please no links...
1 Solution
Ans 1 : No, it's not compulsory
Ans 2 : Outer world may not get the information about your wcf service, if you don't expose the metadata either by implementing the MEX endpoint or by httpGetEnabled tag.

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now