123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <?xml version="1.0"?>
- <configuration>
- <configSections>
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821"/>
- </configSections>
- <startup useLegacyV2RuntimeActivationPolicy="true">
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
- </startup>
- <connectionStrings>
- <add name="PostgreSQL" connectionString="Server=localhost;Port=5432;User Id=postgres;Password=123456;Database=postgres;Enlist=true;Preload Reader = true;"/>
- </connectionStrings>
- <appSettings>
- <add key="IsSimulationMode" value="false"/>
- <add key="Su" value="21232f297a57a5a743894a0e4a801fc3"/>
- </appSettings>
- <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="[%t] %m%n"/>
- <param name="Header" value="<==
- "/>
- <param name="Footer" value="
- ==>
- "/>
- </layout>
- </appender>
- <root>
- <level value="ALL"/>
- <appender-ref ref="fileAppender"/>
- </root>
- </log4net>
- <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>
- </sources>
- <sharedListeners>
- <add initializeData="C:\logs\TracingAndLogging-service.svclog" type="System.Diagnostics.XmlWriterTraceListener" name="xml"/>
- </sharedListeners>
- <trace autoflush="true"/>
- </system.diagnostics>
-
- <!--<system.diagnostics>
- <sources>
- <source name="System.ServiceModel.MessageLogging">
- <listeners>
- <add name="messages"
- type="System.Diagnostics.XmlWriterTraceListener"
- initializeData="c:\logs\mitrt.svclog" />
- </listeners>
- </source>
- </sources>
- </system.diagnostics>-->
- <system.serviceModel>
- <diagnostics>
- <messageLogging logEntireMessage="true" logMalformedMessages="false" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="false" maxMessagesToLog="3000" maxSizeOfMessageToLog="2000"/>
- </diagnostics>
- <bindings>
- <netTcpBinding>
- <binding name="Aitex_netTcpBinding" maxReceivedMessageSize="102400000" receiveTimeout="infinite">
- <readerQuotas maxDepth="32" maxStringContentLength="1048576" maxArrayLength="163840000" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
- <security mode="None">
- <transport clientCredentialType="None"/>
- <message clientCredentialType="None"/>
- </security>
- </binding>
- </netTcpBinding>
- </bindings>
- <services>
- <service behaviorConfiguration="BasicBehavior" name="Aitex.Core.Account.AccountService">
- <endpoint address="net.tcp://localhost:8775/AccountService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Core.Account.IAccountService"/>
- </service>
- <service behaviorConfiguration="BasicBehavior" name="Aitex.Triton160.RT.WCF.InvokeService">
- <endpoint address="net.tcp://localhost:8751/InvokeService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Triton160.Common.Interface.IInvokeService"/>
- </service>
- <service behaviorConfiguration="BasicBehavior" name="Aitex.Core.WCF.EventService">
- <endpoint address="net.tcp://localhost:8752/EventService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Core.WCF.Interface.IEventService"/>
- </service>
- <service behaviorConfiguration="BasicBehavior" name="Aitex.Triton160.RT.WCF.QueryDataService">
- <endpoint address="net.tcp://localhost:8771/QueryDataService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Triton160.Common.Interface.IQueryDataService"/>
- </service>
- <service behaviorConfiguration="BasicBehavior" name="Aitex.Triton160.RT.WCF.RecipeService">
- <endpoint address="net.tcp://localhost:8773/RecipeService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Triton160.Common.Interface.IRecipeService"/>
- </service>
- </services>
- <behaviors>
- <serviceBehaviors>
- <behavior name="BasicBehavior">
- <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
- <serviceMetadata httpGetEnabled="false"/>
- <serviceDebug includeExceptionDetailInFaults="true"/>
- <serviceAuthorization impersonateCallerForAllOperations="false"/>
- </behavior>
- <behavior name="SingleModeBehavior">
- <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
- <serviceMetadata httpGetEnabled="false"/>
- <serviceDebug includeExceptionDetailInFaults="true"/>
- <serviceAuthorization impersonateCallerForAllOperations="false"/>
- </behavior>
- </serviceBehaviors>
- <endpointBehaviors>
- <behavior name="EndpointBehavior">
- <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
- </behavior>
- </endpointBehaviors>
- </behaviors>
- </system.serviceModel>
- </configuration>
|