Advertisement
Guest User

Client

a guest
Mar 21st, 2013
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.68 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3.   <configSections>
  4.     <section name="quartz" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=xxx" />
  5.   </configSections>
  6.   <connectionStrings>
  7.     <add name="CalculationContainer" connectionString="metadata=res://*/Calculation.csdl|res://*/Calculation.ssdl|res://*/Calculation.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=localhost;initial catalog=Mydatabase;User ID=xxx;Password=xxx;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  8.   </connectionStrings>
  9.   <quartz>
  10.     <add key="quartz.scheduler.instanceName" value="ExampleDefaultQuartzScheduler" />
  11.     <add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz" />
  12.     <add key="quartz.threadPool.threadCount" value="10" />
  13.     <add key="quartz.threadPool.threadPriority" value="2" />
  14.     <add key="quartz.jobStore.misfireThreshold" value="60000" />
  15.     <add key="quartz.jobStore.type" value="Quartz.Impl.AdoJobStore.JobStoreTX, Quartz" />
  16.     <add key="quartz.jobStore.driverDelegateType" value="Quartz.Impl.AdoJobStore.StdAdoDelegate, Quartz" />
  17.     <add key="quartz.jobStore.tablePrefix" value="QRTZ_" />
  18.     <add key="quartz.jobStore.useProperties" value="false" />
  19.     <add key="quartz.scheduler.exporter.type" value="Quartz.Simpl.RemotingSchedulerExporter, Quartz" />
  20.     <add key="quartz.scheduler.exporter.port" value="555" />
  21.     <add key="quartz.scheduler.exporter.bindName" value="QuartzScheduler" />
  22.     <add key="quartz.scheduler.exporter.channelType" value="tcp" />
  23.     <add key="quartz.scheduler.exporter.channelName" value="httpQuartz" />
  24.     <add key="quartz.jobStore.dataSource" value="myDS" />
  25.     <add key="quartz.dataSource.myDS.connectionString" value="Server=localhost;Database=quartz;Uid=xxx;Pwd=xxx" />
  26.     <add key="quartz.dataSource.myDS.provider" value="SqlServer-20" />
  27.   </quartz>
  28.   <startup>
  29.     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  30.   </startup>
  31.   <system.serviceModel>
  32.     <bindings>
  33.       <basicHttpBinding>
  34.         <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">
  35.           <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  36.           <security mode="None">
  37.             <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
  38.             <message clientCredentialType="UserName" algorithmSuite="Default" />
  39.           </security>
  40.         </binding>
  41.         <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">
  42.           <readerQuotas maxDepth="32" maxStringContentLength="3276800" maxArrayLength="3276800" maxBytesPerRead="16384000" maxNameTableCharCount="1048576" />
  43.           <security mode="None">
  44.             <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
  45.             <message clientCredentialType="UserName" algorithmSuite="Default" />
  46.           </security>
  47.         </binding>
  48.       </basicHttpBinding>
  49.     </bindings>
  50.     <client>
  51.       <endpoint address="http://xxx/xxx.CalculationService/CalculationService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICalculationService" contract="CalculationServiceReference.ICalculationService" name="BasicHttpBinding_ICalculationService" />
  52.       <endpoint address="http://xxx/xxx/MyPdfService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IMyPdfService" contract="MyPdfServiceReference.IMyPdfService" name="BasicHttpBinding_IMyPdfService" />
  53.     </client>
  54.   </system.serviceModel>
  55.   <runtime>
  56.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  57.       <dependentAssembly>
  58.         <assemblyIdentity name="Common.Logging" publicKeyToken="xxx" culture="neutral" />
  59.         <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  60.       </dependentAssembly>
  61.     </assemblyBinding>
  62.   </runtime>
  63. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement