You are creating a distributed client application by using Microsoft .NET Framework 3.5. You use Windows Communication Foundation (WCF) to create the application. You specify the following configuration settings for the service application.
<serviceCredentials>
<userNameAuthentication
userNamePasswordValidationMode="MembershipProvider" membershipProviderName="SqlMembershipProvider"/>
</serviceCredentials>
You need to authenticate the client application by using the Microsoft ASP.NET membership provider. Which configuration settings should you use?
A.
<wsHttpBinding> <binding name="http"> <security mode="Message"> <message clientCredentialType="IssuedToken"/> </security> </binding></wsHttpBinding>
B.
<wsHttpBinding> <binding name="http"> <security mode="Message"> <message clientCredentialType="Windows"/> </security> </binding></wsHttpBinding>
C.
<wsHttpBinding> <binding name="http"> <security mode="Message"> <message clientCredentialType="UserName"/> </security> </binding></wsHttpBinding>
D.
<wsHttpBinding> <binding name="http"> <security mode="Message"> <message clientCredentialType="Certificate"/> </security> </binding></wsHttpBinding>