Informationen ausgelagert Kleines Spy/Test Programm erstellt Mehr Exceptions/InvalidUpdateFileRequestException.cs Launcher Host in Download Server geändert Download Server macht zusätzlich Abfrage an den Hauptserver Download geht jetzt stückweise von statten
155 lines
8.3 KiB
XML
155 lines
8.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<configSections>
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
</configSections>
|
|
<system.diagnostics>
|
|
<sources>
|
|
<source name="System.ServiceModel" switchValue="All">
|
|
<listeners>
|
|
<add type="System.Diagnostics.DefaultTraceListener" name="Default">
|
|
<filter type="" />
|
|
</add>
|
|
<add initializeData="logs\Traces2.svclog" type="System.Diagnostics.XmlWriterTraceListener" name="traceListener" traceOutputOptions="DateTime">
|
|
<filter type="" />
|
|
</add>
|
|
</listeners>
|
|
</source>
|
|
</sources>
|
|
</system.diagnostics>
|
|
<log4net debug="true">
|
|
<appender name="logFile" type="log4net.Appender.RollingFileAppender,log4net">
|
|
<param name="File" value="logs\log.txt" />
|
|
<param name="AppendToFile" value="false" />
|
|
<param name="RollingStyle" value="Date" />
|
|
<param name="DatePattern" value="dd.MM.yyyy" />
|
|
<param name="StaticLogFileName" value="true" />
|
|
<layout type="log4net.Layout.PatternLayout,log4net">
|
|
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
|
</layout>
|
|
</appender>
|
|
<root>
|
|
<priority value="INFO" />
|
|
<appender-ref ref="logFile" />
|
|
</root>
|
|
</log4net>
|
|
|
|
|
|
<system.web>
|
|
<compilation debug="true" defaultLanguage="c#" targetFramework="4.7.2" />
|
|
<httpRuntime maxRequestLength="65536" executionTimeout="300" />
|
|
</system.web>
|
|
|
|
<system.serviceModel>
|
|
<bindings>
|
|
<basicHttpBinding>
|
|
<binding name="TransportSecurityDownloadLarge" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" transferMode="StreamedRequest">
|
|
<!-- mode="Transport" für echten Server und "None" sonst-->
|
|
<security mode="None">
|
|
<transport clientCredentialType="None" />
|
|
</security>
|
|
<readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="32" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
|
|
</binding>
|
|
<binding name="BasicStreamedRequest" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" transferMode="StreamedRequest">
|
|
<!-- mode="Transport" für echten Server und "None" sonst-->
|
|
<security mode="None">
|
|
<transport clientCredentialType="None" />
|
|
</security>
|
|
<readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="32" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
|
|
</binding>
|
|
<binding name="BeWoBasicEndpoint" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:05:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true" messageEncoding="Text">
|
|
<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
|
<security mode="None" />
|
|
<!-- mode="Transport" für echten Server und "None" sonst-->
|
|
</binding>
|
|
</basicHttpBinding>
|
|
</bindings>
|
|
<behaviors>
|
|
<endpointBehaviors>
|
|
<behavior name="SecurityAndSessionBehavior">
|
|
<MultitenancyExtension />
|
|
<HibernateSessionExtension />
|
|
<SecurityExtension />
|
|
</behavior>
|
|
</endpointBehaviors>
|
|
<serviceBehaviors>
|
|
<behavior name="returnFaults">
|
|
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
|
|
<serviceDebug includeExceptionDetailInFaults="true" />
|
|
<serviceThrottling maxConcurrentCalls="1000" maxConcurrentSessions="1000" />
|
|
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
</behaviors>
|
|
<client>
|
|
<endpoint binding="basicHttpBinding" bindingConfiguration="BeWoBasicEndpoint" contract="BeWo.Service.ServiceProxy.ILauncherService" name="LauncherServiceEndpoint" />
|
|
</client>
|
|
<extensions>
|
|
<behaviorExtensions>
|
|
<add name="MultitenancyExtension" type="BeWo.Service.Multitenancy.MultitenancyBehaviorExtension, BeWo.Service, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
|
|
<add name="SecurityExtension" type="BeWo.Service.Security.SecurityBehaviorExtension, BeWo.Service, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
|
|
<add name="HibernateSessionExtension" type="BeWo.Service.UnitOfWork.HibernateSessionBehaviorExtension, BeWo.Service, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
|
|
</behaviorExtensions>
|
|
</extensions>
|
|
<services>
|
|
<service behaviorConfiguration="returnFaults" name="BeWo.Service.ServiceImplementations.DownloadBeWoServiceImp">
|
|
<endpoint behaviorConfiguration="SecurityAndSessionBehavior" binding="basicHttpBinding" bindingConfiguration="BasicStreamedRequest"
|
|
name="DownloadBeWoServiceEndpoint" contract="BeWo.Service.ServiceContracts.IDownloadBeWoService" />
|
|
</service>
|
|
</services>
|
|
</system.serviceModel>
|
|
<appSettings>
|
|
<add key="LogFolderPath" value="D:\Rene\ServerBeWoDataExample2\log" />
|
|
<add key="DownloadFolderPath" value="D:\Rene\ServerBeWoDataExample2" />
|
|
<add key="DownloadVersionFilePath" value="D:\Rene\ServerBeWoDataExample2\version\update.config" />
|
|
</appSettings>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-2.5.1.0" newVersion="2.5.1.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Text.Encoding.CodePages" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Composition.AttributedModel" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Composition.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Composition.TypedParts" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Composition.Hosting" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration>
|