How would you enable the metadata information of the service?



How would you enable the metadata information of the service?..

Answer / Nitish Mathur

To enable metadata exchange in WCF, you can set the BehaviorConfiguration attribute on your ServiceHost to include a MetadataExchangeEndpoint. You can also configure it using code by adding MetadataExchangeEndpoint to the ServiceMetadataBehavior. Alternatively, you can use svcutil.exe tool to retrieve the metadata from the service.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

What are the types of binding available in wcf?

1 Answers  


What is the use of the was(windows activation service) compared to other hosting?

1 Answers  


What is extension of WCF Service?

1 Answers   Wipro,


How many types of various programming approaches used for WCF?

1 Answers   Viscus Infotech,


In wcf which bindings supports the reliable session?

1 Answers  


How do you choose the hosting for wcf internet service?

1 Answers  


What is address in wcf and how many types of transport schemas are there in wcf?

1 Answers  


What is contract? What are the types of contract?

1 Answers  


what is SOA?

1 Answers  


which is the best institute in hyderabad for advanced .net training and wcf.

8 Answers  


What are dead letter queues?

1 Answers  


Please explain different modes of security in wcf? Or explain the difference between transport and message level security.

1 Answers  


Categories