83 lines
3.5 KiB
XML
83 lines
3.5 KiB
XML
<?xml version="1.0"?>
|
|
<configuration>
|
|
|
|
<configSections>
|
|
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
<section name="bsmd.nsw.service.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
|
|
</sectionGroup>
|
|
</configSections>
|
|
<appSettings>
|
|
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true"/>
|
|
</appSettings>
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.5.2"/>
|
|
<httpRuntime targetFramework="4.5.2" executionTimeout="600"/>
|
|
</system.web>
|
|
<system.serviceModel>
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
<behavior name="ServiceBehavior">
|
|
<!-- To avoid disclosing metadata information, set the values below to false before deployment -->
|
|
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
|
|
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
|
|
<serviceDebug includeExceptionDetailInFaults="false"/>
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
<endpointBehaviors>
|
|
<behavior name="web">
|
|
<webHttp/>
|
|
</behavior>
|
|
</endpointBehaviors>
|
|
</behaviors>
|
|
<services>
|
|
<service name="bsmd.nsw.service.Service" behaviorConfiguration="ServiceBehavior">
|
|
<endpoint binding="webHttpBinding" contract="bsmd.nsw.service.IService" behaviorConfiguration="web">
|
|
</endpoint>
|
|
</service>
|
|
</services>
|
|
<protocolMapping>
|
|
<add binding="basicHttpsBinding" scheme="https"/>
|
|
</protocolMapping>
|
|
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
|
|
</system.serviceModel>
|
|
<system.webServer>
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
<!--
|
|
To browse web app root directory during debugging, set the value below to true.
|
|
Set to false before deployment to avoid disclosing web app folder information.
|
|
-->
|
|
<directoryBrowse enabled="true"/>
|
|
</system.webServer>
|
|
|
|
<system.diagnostics>
|
|
<trace autoflush="true" />
|
|
<sources>
|
|
<source name="System.ServiceModel"
|
|
switchValue="Information, ActivityTracing"
|
|
propagateActivity="true">
|
|
<listeners>
|
|
<add name="sdt"
|
|
type="System.Diagnostics.XmlWriterTraceListener"
|
|
initializeData="e:\temp\client.svclog" />
|
|
</listeners>
|
|
</source>
|
|
</sources>
|
|
</system.diagnostics>
|
|
|
|
<applicationSettings>
|
|
<bsmd.nsw.service.Properties.Settings>
|
|
<setting name="ConnectionString" serializeAs="String">
|
|
<value>Initial Catalog=nsw;Data Source=192.168.2.24\SQLEXPRESS;Uid=dfuser;pwd=dfpasswd;Persist Security Info=False;Connection Reset=false</value>
|
|
</setting>
|
|
</bsmd.nsw.service.Properties.Settings>
|
|
</applicationSettings>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="log4net" publicKeyToken="669E0DDF0BB1AA2A" culture="neutral"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-2.0.12.0" newVersion="2.0.12.0"/>
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration>
|