You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.
namespace MyServices
{
[ServiceContract()]
interface IManageOrders
{
…
}
}
The service metadata must be exposed at the relative address named meta.
You need to add an endpoint element to the app.config file of the service host. Which code fragment should you add?
A.
<endpoint address=”meta” binding=”wsHttpBinding” contract=”IManageOrders” />
B.
<endpoint address=”meta” binding=”wsHttpBinding”
contract=”MyServices.IMetadataExchange” />
C.
<endpoint address=”meta” binding=”mexHttpBinding” contract=”IMetadataExchange” />
D.
<endpoint address=”meta” binding=”mexHttpBinding” contract=”MyServices.IManageOrders” />
Explanation:
http://msdn.microsoft.com/en-us/library/ms733749.aspx