CNCEC_SUBQHSE_WUHUAN/SGGL/FineUIPro.Web/Web.config

199 lines
11 KiB
Plaintext
Raw Normal View History

2024-06-06 15:48:52 +08:00
<?xml version="1.0"?>
2024-01-25 15:21:19 +08:00
<!--
有关如何配置 ASP.NET 应用程序的详细消息,请访问
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
2024-06-06 15:48:52 +08:00
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
2024-01-25 15:21:19 +08:00
</configSections>
2024-06-06 15:48:52 +08:00
<FineUIPro DebugMode="true" Theme="Cupertino"/>
2024-05-10 15:46:52 +08:00
<appSettings>
2024-01-25 15:21:19 +08:00
<!--连接字符串-->
2024-02-01 10:50:03 +08:00
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
2024-06-17 16:38:25 +08:00
<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
2024-06-07 22:07:03 +08:00
<!--系统名称-->
2024-06-06 15:48:52 +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="http://localhost:8579/"/>
<add key="SystemVersion" value="SGGLPackFile_V2021-02-01-001"/>
2024-01-25 15:21:19 +08:00
<!--启用与集团实名制 True启用 False 不启用-->
2024-06-06 15:48:52 +08:00
<add key="EnableRealName" value="False"/>
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour1"/>
<add key="ControlApiUrl" value="http://webwh02.cwcec.com:9123/api/services/app"/>
<add key="Intervaltime" value="20"/>
2024-01-25 15:21:19 +08:00
<!--<add key="RealNameClientId" value="1338326379741057025"/>
<add key="RealNameUserName" value="zgwhgcyxgs@CNCEC"/>
<add key="RealNamePassWord" value="0nkbqy9n0"/>-->
<!--附件上传物理路径-->
2024-06-06 15:48:52 +08:00
<add key="localRoot" value="D:\CWCEC\SGGL_CWCEC\SGGL\FineUIPro.Web\"/>
2024-01-25 15:21:19 +08:00
<!--视频服务器-->
2024-06-06 15:48:52 +08:00
<add key="Video_URL" value="http://camera.cwcec.com:10000/"/>
2024-01-25 15:21:19 +08:00
<!--BAIDU AI配置-->
2024-06-06 15:48:52 +08:00
<add key="APP_ID" value="23518716"/>
<add key="API_KEY" value="9UGmBxS0TOIDGM5adGrOcBnr"/>
<add key="SECRET_KEY" value="6yq7q5PTTGfocWDmSN7hjxuiixsfURe1"/>
2024-01-25 15:21:19 +08:00
<!--人脸检测参数-->
<!--人脸活体检测参数1最好0最差 建议0.995 -->
2024-06-06 15:48:52 +08:00
<add key="BD_face_liveness" value="0.3"/>
2024-01-25 15:21:19 +08:00
<!--人脸高宽建议100-200-->
<!--<add key="BD_width" value="200" />-->
<!--<add key="BD_height" value="200" />-->
<!--人脸角度-->
2024-06-06 15:48:52 +08:00
<add key="BD_roll" value="40"/>
2024-01-25 15:21:19 +08:00
<!--人脸遮档度0最好1最不好-->
2024-06-06 15:48:52 +08:00
<add key="BD_occlusion" value="1"/>
2024-01-25 15:21:19 +08:00
<!--人脸模糊度0最好1最不好-->
2024-06-06 15:48:52 +08:00
<add key="BD_blur" value="0.1"/>
<add key="CEMS_IMG_URL" value="http://localhost/SGGL/"/>
2024-01-25 15:21:19 +08:00
<!--跳转小程序类型developer为开发版trial为体验版formal为正式版默认为正式版-->
2024-06-06 15:48:52 +08:00
<add key="miniprogram_state" value="developer"/>
2024-01-25 15:21:19 +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" -->
2024-06-06 15:48:52 +08:00
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200"/>
2024-01-25 15:21:19 +08:00
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
<controls>
2024-06-06 15:48:52 +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"/>
2024-01-25 15:21:19 +08:00
</controls>
</pages>
<httpModules>
2024-06-06 15:48:52 +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"/>
2024-01-25 15:21:19 +08:00
</httpModules>
<httpHandlers>
2024-06-06 15:48:52 +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"/>
</httpHandlers>
2024-06-21 16:23:38 +08:00
<compilation debug="true" targetFramework="4.6.1"/>
2024-01-25 15:21:19 +08:00
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000"/>
<authentication mode="Forms">
2024-06-06 15:48:52 +08:00
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
2024-01-25 15:21:19 +08:00
</authentication>
<membership>
<providers>
2024-06-06 15:48:52 +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="/"/>
2024-01-25 15:21:19 +08:00
</providers>
</membership>
<profile>
<providers>
2024-06-06 15:48:52 +08:00
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
2024-01-25 15:21:19 +08:00
</providers>
</profile>
<roleManager enabled="false">
<providers>
2024-06-06 15:48:52 +08:00
<clear/>
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
2024-01-25 15:21:19 +08:00
</providers>
</roleManager>
2024-06-06 15:48:52 +08:00
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx"/>
2024-01-25 15:21:19 +08:00
</system.web>
2024-06-06 15:48:52 +08:00
<location path="res.axd"/>
2024-01-25 15:21:19 +08:00
<system.webServer>
<staticContent>
2024-06-06 15:48:52 +08:00
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
2024-01-25 15:21:19 +08:00
</staticContent>
2024-06-06 15:48:52 +08:00
<validation validateIntegratedModeConfiguration="false"/>
2024-01-25 15:21:19 +08:00
<modules runAllManagedModulesForAllRequests="true">
2024-06-06 15:48:52 +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"/>
2024-01-25 15:21:19 +08:00
</modules>
<handlers>
2024-06-06 15:48:52 +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"/>
2024-01-25 15:21:19 +08:00
</handlers>
<defaultDocument>
<files>
2024-06-06 15:48:52 +08:00
<add value="Login.aspx"/>
2024-01-25 15:21:19 +08:00
</files>
</defaultDocument>
<security>
<requestFiltering>
2024-06-06 15:48:52 +08:00
<requestLimits maxAllowedContentLength="500000000"/>
2024-01-25 15:21:19 +08:00
</requestFiltering>
</security>
</system.webServer>
<!-- SERVER -->
<system.serviceModel>
<client>
2024-06-06 15:48:52 +08:00
<endpoint address="http://localhost/CNCECHSSE/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint"/>
<endpoint address="https://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap"/>
2024-01-25 15:21:19 +08:00
</client>
2024-06-06 15:48:52 +08:00
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
2024-01-25 15:21:19 +08:00
<services>
<service name="BLL.OpenService.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
2024-06-06 15:48:52 +08:00
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService"/>
2024-01-25 15:21:19 +08:00
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="BLL.HSSEServiceBehavior">
2024-06-06 15:48:52 +08:00
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
2024-01-25 15:21:19 +08:00
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
2024-06-06 15:48:52 +08:00
<security mode="Transport"/>
2024-01-25 15:21:19 +08:00
</binding>
</basicHttpBinding>
<wsHttpBinding>
<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">
2024-06-06 15:48:52 +08:00
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000"/>
2024-01-25 15:21:19 +08:00
<security mode="Transport">
2024-06-06 15:48:52 +08:00
<transport clientCredentialType="Windows" proxyCredentialType="None"/>
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
2024-01-25 15:21:19 +08:00
</security>
</binding>
<binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
<security mode="Transport">
2024-06-06 15:48:52 +08:00
<transport clientCredentialType="Windows" proxyCredentialType="None"/>
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
2024-01-25 15:21:19 +08:00
</security>
</binding>
</wsHttpBinding>
</bindings>
</system.serviceModel>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
2024-06-06 15:48:52 +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"/>
2024-01-25 15:21:19 +08:00
</dependentAssembly>
<dependentAssembly>
2024-06-06 15:48:52 +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"/>
2024-01-25 15:21:19 +08:00
</dependentAssembly>
<dependentAssembly>
2024-06-06 15:48:52 +08:00
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1"/>
2024-01-25 15:21:19 +08:00
</dependentAssembly>
<dependentAssembly>
2024-06-06 15:48:52 +08:00
<assemblyIdentity name="System.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.1" newVersion="6.0.0.1"/>
2024-01-25 15:21:19 +08:00
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>