123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a"/>
- </configSections>
- <system.serviceModel>
- <!--<diagnostics>
- <messageLogging
- logEntireMessage="false"
- logMalformedMessages="false"
- logMessagesAtServiceLevel="true"
- logMessagesAtTransportLevel="false"
- maxMessagesToLog="3000"
- maxSizeOfMessageToLog="2000"/>
- </diagnostics>-->
- <bindings>
- <netTcpBinding>
- <binding name="Aitex_netTcpBinding" maxReceivedMessageSize="2147483647" openTimeout="00:00:05" closeTimeout="00:03:00" receiveTimeout="00:30:00" sendTimeout="00:30:00">
- <readerQuotas maxDepth="132" maxStringContentLength="1048576" maxArrayLength="163840000" maxBytesPerRead="14096" maxNameTableCharCount="116384"/>
- <security mode="None"/>
- </binding>
- </netTcpBinding>
- </bindings>
- <behaviors>
- <endpointBehaviors>
- <behavior name="EndpointBehavior">
- <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
- </behavior>
- </endpointBehaviors>
- </behaviors>
- <client>
- <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"/>
- <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"/>
-
- <endpoint address="net.tcp://192.168.10.20:5771/EPDService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="EPInterface.IEPDService" name="Client_IEPDService"/>
- <endpoint address="net.tcp://192.168.10.20:5773/EPDCallbackService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="EPInterface.IEPDCallbackService" name="Client_IEPDCallbackService"/>
- </client>
- </system.serviceModel>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
- </startup>
- <log4net>
- <appender name="fileAppender" type="log4net.Appender.RollingFileAppender">
- <param name="File" value="Logs\log"/>
- <param name="AppendToFile" value="true"/>
- <param name="RollingStyle" value="Date"/>
- <param name="StaticLogFileName" value="false"/>
- <datePattern value="yyyyMMdd'.txt'"/>
- <layout type="log4net.Layout.PatternLayout,log4net">
- <param name="ConversionPattern" value="%m%n"/>
- <param name="Header" value="<== "/>
- <param name="Footer" value="==>"/>
- </layout>
- </appender>
- <root>
- <level value="ALL"/>
- <appender-ref ref="fileAppender"/>
- </root>
- </log4net>
- </configuration>
|