ChengDa_English/SGGL/FineUIPro.Web/Web.config

197 lines
12 KiB
Plaintext
Raw Normal View History

2023-09-26 15:20:47 +08:00
<?xml version="1.0" encoding="utf-8"?>
2023-01-30 14:54:14 +08:00
<!--
有关如何配置 ASP.NET 应用程序的详细消息,请访问
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
2023-09-26 15:20:47 +08:00
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false" />
2023-01-30 14:54:14 +08:00
</configSections>
2023-09-26 15:20:47 +08:00
<FineUIPro DebugMode="false" Theme="Cupertino" />
2023-01-30 14:54:14 +08:00
<appSettings>
<!--连接字符串-->
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
2023-09-26 15:20:47 +08:00
<add key="ConnectionString" value="Server=.;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true; Connect Timeout=1200;Pooling=true; MAX Pool Size=512;Min Pool Size=50;Connection Lifetime=30" />
2023-01-30 14:54:14 +08:00
<!--系统名称-->
2023-09-26 15:20:47 +08:00
<add key="SystemName" value="数字化施工管理信息平台V1.0" />
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;" />
<add key="aspnet:MaxHttpCollectionKeys" value="50000" />
<add key="SGGLUrl" value="https://sggl.chengda.com/" />
<add key="SystemVersion" value="SGGLPackFile_V2022-11-11-001" />
2023-01-30 14:54:14 +08:00
<!--启用与集团实名制 True启用 False 不启用-->
2023-09-26 15:20:47 +08:00
<add key="EnableRealName" value="False" />
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11" />
<add key="Intervaltime" value="20" />
2023-01-30 14:54:14 +08:00
<!--附件上传物理路径-->
2023-09-26 15:20:47 +08:00
<add key="localRoot" value="D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\" />
2023-01-30 14:54:14 +08:00
<!--视频服务器-->
2023-09-26 15:20:47 +08:00
<add key="Video_URL" value="http://sggljk.chengda.com:10000/" />
<add key="Video_USER" value="admin" />
<add key="Video_PW" value="admin" />
2023-01-30 14:54:14 +08:00
<!--跳转小程序类型developer为开发版trial为体验版formal为正式版默认为正式版-->
2023-09-26 15:20:47 +08:00
<add key="miniprogram_state" value="developer" />
2023-01-30 14:54:14 +08:00
</appSettings>
<!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
可在 <httpRuntime> 标记上设置以下特性。
<system.Web>
<httpRuntime targetFramework="4.6.1" />
</system.Web>
-->
<system.web>
<!-- 会话状态设置 默认情况下ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie请设置 sessionState cookieless="true" -->
2023-09-26 15:20:47 +08:00
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200" />
2023-01-30 14:54:14 +08:00
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
<controls>
2023-09-26 15:20:47 +08:00
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f" />
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
2023-01-30 14:54:14 +08:00
</controls>
</pages>
<httpModules>
2023-09-26 15:20:47 +08:00
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
2023-01-30 14:54:14 +08:00
</httpModules>
<httpHandlers>
2023-09-26 15:20:47 +08:00
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false" />
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
2023-01-30 14:54:14 +08:00
</httpHandlers>
2023-09-26 15:20:47 +08:00
<compilation debug="true" targetFramework="4.6.1" />
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000" maxQueryStringLength="2097151" />
2023-01-30 14:54:14 +08:00
<authentication mode="Forms">
2023-09-26 15:20:47 +08:00
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/" />
2023-01-30 14:54:14 +08:00
</authentication>
<membership>
<providers>
2023-09-26 15:20:47 +08:00
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
2023-01-30 14:54:14 +08:00
</providers>
</membership>
<profile>
<providers>
2023-09-26 15:20:47 +08:00
<clear />
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
2023-01-30 14:54:14 +08:00
</providers>
</profile>
<roleManager enabled="false">
<providers>
2023-09-26 15:20:47 +08:00
<clear />
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
2023-01-30 14:54:14 +08:00
</providers>
</roleManager>
2023-09-26 15:20:47 +08:00
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx" />
2023-01-30 14:54:14 +08:00
</system.web>
2023-09-26 15:20:47 +08:00
<location path="res.axd" />
2023-01-30 14:54:14 +08:00
<system.webServer>
<staticContent>
2023-09-26 15:20:47 +08:00
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File" />
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File" />
2023-01-30 14:54:14 +08:00
</staticContent>
2023-09-26 15:20:47 +08:00
<validation validateIntegratedModeConfiguration="false" />
2023-01-30 14:54:14 +08:00
<modules runAllManagedModulesForAllRequests="true">
2023-09-26 15:20:47 +08:00
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
2023-01-30 14:54:14 +08:00
</modules>
<handlers>
2023-09-26 15:20:47 +08:00
<remove name="ChartImageHandler" />
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" />
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
2023-01-30 14:54:14 +08:00
</handlers>
<defaultDocument>
<files>
2023-09-26 15:20:47 +08:00
<add value="Login.aspx" />
2023-01-30 14:54:14 +08:00
</files>
</defaultDocument>
<security>
<requestFiltering>
2023-09-26 15:20:47 +08:00
<requestLimits maxAllowedContentLength="500000000" maxQueryString="2147483647" />
2023-01-30 14:54:14 +08:00
</requestFiltering>
</security>
2023-03-31 16:33:36 +08:00
</system.webServer>
2023-01-30 14:54:14 +08:00
<!-- SERVER -->
<system.serviceModel>
<client>
2023-09-26 15:20:47 +08:00
<endpoint address="http://114.247.88.97:20080/qhse/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint" />
2023-01-30 14:54:14 +08:00
</client>
2023-09-26 15:20:47 +08:00
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
2023-01-30 14:54:14 +08:00
<services>
2023-05-05 20:15:42 +08:00
<service name="BLL.OpenService.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
2023-09-26 15:20:47 +08:00
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService" />
2023-01-30 14:54:14 +08:00
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="BLL.HSSEServiceBehavior">
2023-09-26 15:20:47 +08:00
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647" />
2023-01-30 14:54:14 +08:00
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
2023-09-26 15:20:47 +08:00
<binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" />
2023-01-30 14:54:14 +08:00
</basicHttpBinding>
<wsHttpBinding>
2023-05-05 20:15:42 +08:00
<binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
2023-09-26 15:20:47 +08:00
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
<security mode="None" />
2023-05-04 17:51:13 +08:00
</binding>
2023-05-05 20:15:42 +08:00
<binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
2023-09-26 15:20:47 +08:00
<security mode="None" />
2023-01-30 14:54:14 +08:00
</binding>
</wsHttpBinding>
</bindings>
</system.serviceModel>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
2023-09-26 15:20:47 +08:00
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0" />
2023-01-30 14:54:14 +08:00
</dependentAssembly>
2023-03-07 23:01:04 +08:00
<dependentAssembly>
2023-09-26 15:20:47 +08:00
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
2023-01-30 14:54:14 +08:00
</dependentAssembly>
2023-03-14 13:00:24 +08:00
<dependentAssembly>
2023-09-26 15:20:47 +08:00
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
2023-06-19 09:04:34 +08:00
</dependentAssembly>
<dependentAssembly>
2023-09-26 15:20:47 +08:00
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
2023-06-19 09:04:34 +08:00
</dependentAssembly>
<dependentAssembly>
2023-09-26 15:20:47 +08:00
<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.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.1" newVersion="6.0.0.1" />
2023-03-14 13:00:24 +08:00
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
</dependentAssembly>
2023-01-30 14:54:14 +08:00
</assemblyBinding>
</runtime>
</configuration>