Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <system.serviceModel>
- <services>
- <service behaviorConfiguration="MathServiceBehaviors" name="WCF_Tries.Math">
- <endpoint binding="basicHttpBinding" bindingConfiguration="NewBinding" address="" contract="WCF_Tries.IMathService" name="Default" bindingNamespace="WCF_Tries" />
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:8733/MathService" />
- </baseAddresses>
- </host>
- </service>
- </services>
- <bindings>
- <basicHttpBinding>
- <binding name="NewBinding">
- <security mode="TransportCredentialOnly">
- <transport clientCredentialType="Basic" />
- </security>
- </binding>
- </basicHttpBinding>
- </bindings>
- <behaviors>
- <serviceBehaviors>
- <behavior name="MathServiceBehaviors" >
- <serviceMetadata httpGetEnabled="true" />
- <serviceCredentials>
- <userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="WCF_Tries.CustomValidator, WCF_Tries"/>
- </serviceCredentials>
- </behavior>
- </serviceBehaviors>
- </behaviors>
- </system.serviceModel>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement