What are the Different Ways to Obtain WCF Service Metadata Information?

A client can obtain much of the information that is required to communicate with a service by querying the service metadata. The service metadata describes the WCF service; it includes information about the operations that it exposes and the types that those operations use


How to Implement a Self-Hosted WCF Service?

To host a service in a managed application, you must create a contract and then implement the service. You must understand the role of the contract and the service implementation to understand how to develop a self-hosted service. The first two rows in the table provide examples of a contract and a service implementation. The last two rows link to code examples for building and configuring your self-hosted service.