1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
| <?xml version="1.0"?>
<configuration>
<configSections>
</configSections>
<appSettings>
</appSettings>
<connectionStrings>
<add name="YRCredentialModel" connectionString="metadata=res://*/YRCredentialModel.csdl|res://*/YRCredentialModel.ssdl|res://*/YRCredentialModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=zisql999;Initial Catalog=touch-YR;User ID=zitouch;Password=zitouch;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
</connectionStrings>
<system.web>
<compilation debug="true"/>
<httpRuntime maxRequestLength="2097151"/>
<authentication mode="None"/>
</system.web>
<system.serviceModel>
<services>
<service behaviorConfiguration="YRWSServiceBehaviors" name="NS_YRServices.YRPhoneServices">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="default"
contract="NS_YRServices.IYRPhoneServices" />
<host>
<baseAddresses>
</baseAddresses>
</host>
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="default">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="None"/>
</security>
</binding>
</basicHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="YRWSServiceBehaviors" >
<serviceMetadata httpGetEnabled="true" />
<serviceCredentials>
<userNameAuthentication userNamePasswordValidationMode="Custom"
customUserNamePasswordValidatorType="YRCredentialValidator.Validator, YRCredentialValidator" />
</serviceCredentials>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration> |
Partager