What is a metadata exchange (MEX) binding?
Jason Taylor, Prashant Bansode, Carlos Farre, Madhu Sundararajan, Steve Gregersen
A metadata exchange endpoint publishes the metadata for the service. The service metadata is consumed by clients to create a proxy and then call the service.The endpoint supports a standard for exchanging the metadata, WCF provides the implementation in the
form of IMetadataExchange .
As any other endpoint, the metadata endpoint consists of address, contract and binding. The metadata bindings are the means for the clients to interact with the service and get the metadata for generating the proxies.
There are several out-of-box bindings like MexHttpBinding, MexHttpsBinding, MexTcpbinding etc, supporting specific protocols.