123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?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="2147483647" maxArrayLength="2147483647" maxBytesPerRead="14096" maxNameTableCharCount="116384" />
- <security mode="None" />
- </binding>
- </netTcpBinding>
- </bindings>
- <behaviors>
- <endpointBehaviors>
- <behavior name="EndpointBehavior">
- <dataContractSerializer maxItemsInObjectGraph="2147483647" />
- </behavior>
- </endpointBehaviors>
- </behaviors>
- <client>
- <!--后屏改localhost的IP-->
- <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:8777/ParameterService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.ParameterCenter.IParameterService" name="Client_IParameterService" />
- <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://localhost:8779/AlarmDefineService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.Alarms.IAlarmDefineService" name="Client_IAlarmDefineService" />
- </client>
- </system.serviceModel>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
- </startup>
- <appSettings>
- <add key="IsLock" value="true" />
- <!--后屏改IsSlave为true-->
- <add key="IsSlave" value="false" />
- <add key="ClientSettingsProvider.ServiceUri" value="" />
- </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="%m%n" />
- <param name="Header" value="<== " />
- <param name="Footer" value="==>" />
- </layout>
- </appender>
- <root>
- <level value="ALL" />
- <appender-ref ref="fileAppender" />
- </root>
- </log4net>
- <system.web>
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
- <providers>
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
- </providers>
- </membership>
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
- <providers>
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
- </providers>
- </roleManager>
- </system.web>
- </configuration>
|