<system.serviceModel> <bindings> <wsHttpBinding> <binding name="WsHttpBinding"> <security mode="TransportWithMessageCredential"> <transport clientCredentialType="None" /> <message clientCredentialType="UserName" /> </security> </binding> </wsHttpBinding> </bindings> <services> <service behaviorConfiguration="ServiceBehaviour" name="TestAuthonticationService.Service"> <endpoint address="" binding="wsHttpBinding" bindingConfiguration="WsHttpBinding" contract="TestAuthonticationService.IService"> <identity> <dns value="localhost" /> </identity> </endpoint> <endpoint address="mex" binding="mexHttpsBinding" bindingConfiguration="" contract="IMetadataExchange" /> </service> </services> <behaviors> <serviceBehaviors> <behavior name="ServiceBehaviour"> <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> <serviceCredentials> <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" /> </serviceCredentials> </behavior> </serviceBehaviors> </behaviors>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)