Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="quartz" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=xxx" />
- </configSections>
- <connectionStrings>
- <add name="CalculationContainer" connectionString="metadata=res://*/Calculation.csdl|res://*/Calculation.ssdl|res://*/Calculation.msl;provider=System.Data.SqlClient;provider connection string="data source=localhost;initial catalog=Mydatabase;User ID=xxx;Password=xxx;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
- </connectionStrings>
- <quartz>
- <add key="quartz.scheduler.instanceName" value="ExampleDefaultQuartzScheduler" />
- <add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz" />
- <add key="quartz.threadPool.threadCount" value="10" />
- <add key="quartz.threadPool.threadPriority" value="2" />
- <add key="quartz.jobStore.misfireThreshold" value="60000" />
- <add key="quartz.jobStore.type" value="Quartz.Impl.AdoJobStore.JobStoreTX, Quartz" />
- <add key="quartz.jobStore.driverDelegateType" value="Quartz.Impl.AdoJobStore.StdAdoDelegate, Quartz" />
- <add key="quartz.jobStore.tablePrefix" value="QRTZ_" />
- <add key="quartz.jobStore.useProperties" value="false" />
- <add key="quartz.scheduler.exporter.type" value="Quartz.Simpl.RemotingSchedulerExporter, Quartz" />
- <add key="quartz.scheduler.exporter.port" value="555" />
- <add key="quartz.scheduler.exporter.bindName" value="QuartzScheduler" />
- <add key="quartz.scheduler.exporter.channelType" value="tcp" />
- <add key="quartz.scheduler.exporter.channelName" value="httpQuartz" />
- <add key="quartz.jobStore.dataSource" value="myDS" />
- <add key="quartz.dataSource.myDS.connectionString" value="Server=localhost;Database=quartz;Uid=xxx;Pwd=xxx" />
- <add key="quartz.dataSource.myDS.provider" value="SqlServer-20" />
- </quartz>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
- </startup>
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="BasicHttpBinding_ICalculationService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="6553600" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
- <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
- <security mode="None">
- <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
- <message clientCredentialType="UserName" algorithmSuite="Default" />
- </security>
- </binding>
- <binding name="BasicHttpBinding_IMyPdfService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="6553600" maxBufferPoolSize="52428800" maxReceivedMessageSize="6553600" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
- <readerQuotas maxDepth="32" maxStringContentLength="3276800" maxArrayLength="3276800" maxBytesPerRead="16384000" maxNameTableCharCount="1048576" />
- <security mode="None">
- <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
- <message clientCredentialType="UserName" algorithmSuite="Default" />
- </security>
- </binding>
- </basicHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://xxx/xxx.CalculationService/CalculationService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICalculationService" contract="CalculationServiceReference.ICalculationService" name="BasicHttpBinding_ICalculationService" />
- <endpoint address="http://xxx/xxx/MyPdfService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IMyPdfService" contract="MyPdfServiceReference.IMyPdfService" name="BasicHttpBinding_IMyPdfService" />
- </client>
- </system.serviceModel>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="Common.Logging" publicKeyToken="xxx" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement