|
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<!--<?xml version="1.0"?>-->
<configuration>
<appSettings/>
<connectionStrings>
<add name="dependencyDBConnectionString" connectionString="Data Source=SQLSVR2008\SQL2008;Initial Catalog=dependencyDB;Persist Security Info=True;User ID=NotificationsUser;Password=password"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.0">
</compilation>
<authentication mode="Windows"/>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
<system.serviceModel>
<extensions>
<bindingElementExtensions>
<add name="pollingDuplex" type="System.ServiceModel.Configuration.PollingDuplexElement, System.ServiceModel.PollingDuplex"/>
</bindingElementExtensions>
<bindingExtensions>
<add name="pollingDuplex" type="System.ServiceModel.Configuration.PollingDuplexElement, System.ServiceModel.PollingDuplex"/>
</bindingExtensions>
</extensions>
<behaviors>
<serviceBehaviors>
<behavior name="SLDuplexDependency.Web.DBNotificationService.DBNotificationServiceBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
<serviceThrottling maxConcurrentSessions="2147483647"/>
</behavior>
<behavior name="SLDuplexDependency.Web.Duplex.BrowserDuplexBehaviour">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
<serviceThrottling maxConcurrentSessions="2147483647"/>
</behavior>
<behavior>
<!--To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment-->
<serviceMetadata httpGetEnabled="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="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<customBinding>
<binding name="DBNotification">
<binaryMessageEncoding/>
<pollingDuplex maxPendingSessions="2147483647" maxPendingMessagesPerSession="2147483647" inactivityTimeout="02:00:00" serverPollTimeout="00:05:00"/>
<httpTransport/>
</binding>
</customBinding>
<wsHttpBinding>
<binding name="DBAudit">
<security mode="None">
<message/>
</security>
</binding>
</wsHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="SLDuplexDependency.Web.DBNotificationService.DBNotificationServiceBehavior" name="SLDuplexDependency.Web.DBNotificationService.DBNotificationService">
<endpoint address="" binding="customBinding" bindingConfiguration="DBNotification" contract="SLDuplexDependency.Web.DBNotificationService.IDBNotificationService"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
<service behaviorConfiguration="SLDuplexDependency.Web.Duplex.BrowserDuplexBehaviour" name="SLDuplexDependency.Web.Duplex.BrowserDuplex">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="DBAudit" contract="SLDuplexDependency.Web.Duplex.IBrowserDuplex"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
</system.serviceModel>
</configuration>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.