Torna al Thread

<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="serviceBehavior"> <serviceMetadata httpGetEnabled="false" /> <serviceCredentials> <userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="Host.CustomUserNameValidator, Host" /> </serviceCredentials> </behavior> </serviceBehaviors> </behaviors> <services> <service behaviorConfiguration="serviceBehavior" name="BusinessServices.ServiceA"> <endpoint address="ServiceA" binding="netTcpBinding" bindingConfiguration="TcpUserNameBinding" contract="BusinessServiceContracts.IServiceA" bindingName ="" /> <host> <baseAddresses> <add baseAddress="net.tcp://localhost:9000" /> </baseAddresses> </host> </service> </services> <bindings> <netTcpBinding> <binding name="TcpUserNameBinding"> <security mode = "Transport"> <message clientCredentialType="UserName"/> </security> </binding> </netTcpBinding> </bindings> </system.serviceModel> </configuration>
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5