Sic08/SicUI/App.config

114 lines
5.3 KiB
Plaintext
Raw Permalink Normal View History

2023-04-23 14:18:42 +08:00
<?xml version="1.0" encoding="utf-8"?>
2023-03-03 15:42:13 +08:00
<configuration>
<configSections>
2023-04-23 14:18:42 +08:00
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a" />
2023-03-03 15:42:13 +08:00
</configSections>
<!--<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true" >
<listeners>
<add name="xml"/>
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging">
<listeners>
<add name="xml"/>
</listeners>
</source>
<source name="myUserTraceSource"
switchValue="Information, ActivityTracing">
<listeners>
<add name="xml"/>
</listeners>
</source>
</sources>
<sharedListeners>
<add name="xml"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="Error.svclog" />
</sharedListeners>
</system.diagnostics>-->
2023-03-03 15:42:13 +08:00
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="Aitex_netTcpBinding" maxReceivedMessageSize="2147483647" openTimeout="00:00:05" closeTimeout="00:03:00" receiveTimeout="00:30:00" sendTimeout="00:30:00">
2023-04-23 14:18:42 +08:00
<readerQuotas maxDepth="132" maxStringContentLength="1048576" maxArrayLength="163840000" maxBytesPerRead="14096" maxNameTableCharCount="116384" />
<security mode="None" />
2023-03-03 15:42:13 +08:00
</binding>
</netTcpBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior name="EndpointBehavior">
2023-04-23 14:18:42 +08:00
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
2023-03-03 15:42:13 +08:00
</behavior>
</endpointBehaviors>
</behaviors>
<client>
2023-04-23 14:18:42 +08:00
<endpoint address="net.tcp://localhost:8751/InvokeService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.OperationCenter.IInvokeService" name="Client_IInvokeService" />
<endpoint address="net.tcp://localhost:8752/EventService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Core.WCF.Interface.IEventService" name="Client_IEventService" />
2023-03-03 15:42:13 +08:00
2023-04-23 14:18:42 +08:00
<endpoint address="net.tcp://localhost:8771/QueryDataService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.DataCenter.IQueryDataService" name="Client_IQueryDataService" />
<endpoint address="net.tcp://localhost:8773/RecipeService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.RecipeCenter.IRecipeService" name="Client_IRecipeService" />
<endpoint address="net.tcp://localhost:8775/AccountService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Core.Account.IAccountService" name="Client_IAccountService" />
2023-03-03 15:42:13 +08:00
</client>
</system.serviceModel>
<startup>
2023-04-23 14:18:42 +08:00
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
2023-03-03 15:42:13 +08:00
</startup>
<log4net>
<appender name="xmlFileAppender" type="log4net.Appender.RollingFileAppender">
2023-04-23 14:18:42 +08:00
<param name="File" value="Logs\log" />
<param name="AppendToFile" value="true" />
<param name="RollingStyle" value="Date" />
<maxSizeRollBackups value="300" />
<param name="StaticLogFileName" value="false" />
<datePattern value="yyyyMMdd'.xlog'" />
2023-03-03 15:42:13 +08:00
<layout type="log4net.Layout.XmlLayoutSchemaLog4j">
2023-04-23 14:18:42 +08:00
<locationInfo value="true" />
2023-03-03 15:42:13 +08:00
</layout>
</appender>
<appender name="txtFileAppender" type="log4net.Appender.RollingFileAppender">
2023-04-23 14:18:42 +08:00
<param name="File" value="Logs\log" />
<param name="AppendToFile" value="true" />
<param name="RollingStyle" value="Date" />
<param name="StaticLogFileName" value="false" />
<datePattern value="yyyyMMdd'.log'" />
<encoding value="utf-8" />
<maxSizeRollBackups value="120" />
2023-03-03 15:42:13 +08:00
<layout type="log4net.Layout.PatternLayout,log4net">
2023-04-23 14:18:42 +08:00
<param name="ConversionPattern" value="%m%n" />
<param name="Header" value="&lt;=====Sic Begin=====&gt;&#13;&#10;" />
<param name="Footer" value="&lt;=====Sic End=====&gt;&#13;&#10;" />
2023-03-03 15:42:13 +08:00
</layout>
</appender>
<root>
2023-04-23 14:18:42 +08:00
<level value="ALL" />
<appender-ref ref="txtFileAppender" />
2023-03-03 15:42:13 +08:00
</root>
</log4net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
2023-04-23 14:18:42 +08:00
<assemblyIdentity name="SciChart.Charting" publicKeyToken="b55dd9efe817e823" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.1.12982" newVersion="6.0.1.12982" />
2023-03-03 15:42:13 +08:00
</dependentAssembly>
<dependentAssembly>
2023-04-23 14:18:42 +08:00
<assemblyIdentity name="SciChart.Core" publicKeyToken="b55dd9efe817e823" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.1.12982" newVersion="6.0.1.12982" />
2023-03-03 15:42:13 +08:00
</dependentAssembly>
<dependentAssembly>
2023-04-23 14:18:42 +08:00
<assemblyIdentity name="SciChart.Data" publicKeyToken="b55dd9efe817e823" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.1.12982" newVersion="6.0.1.12982" />
</dependentAssembly>
2023-03-03 15:42:13 +08:00
</assemblyBinding>
</runtime>
</configuration>