From b7bb4bf8ee6d007e0e7c3cacfc4fab77049beb58 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 20 8月 2025 17:08:43 +0800 Subject: [PATCH] 同步代码 --- DEmon/iWarePod/Web.config | 116 ++++++++++++++++++++++++++++------------------------------ 1 files changed, 56 insertions(+), 60 deletions(-) diff --git a/DEmon/iWarePod/Web.config b/DEmon/iWarePod/Web.config index 141431e..36b749c 100644 --- a/DEmon/iWarePod/Web.config +++ b/DEmon/iWarePod/Web.config @@ -1,67 +1,63 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="utf-8"?> <configuration> - <appSettings> - <add key="webpages:Version" value="2.0.0.0"/> - <add key="webpages:Enabled" value="false"/> - <add key="PreserveLoginUrl" value="true"/> - <add key="ClientValidationEnabled" value="true"/> - <add key="UnobtrusiveJavaScriptEnabled" value="true"/> - </appSettings> - <!-- - 鏈夊叧 web.config 鏇存敼鐨勮鏄庯紝璇峰弬瑙� http://go.microsoft.com/fwlink/?LinkId=235367銆� + <appSettings> + <add key="webpages:Version" value="2.0.0.0"/> + <add key="webpages:Enabled" value="false"/> + <add key="PreserveLoginUrl" value="true"/> + <add key="ClientValidationEnabled" value="true"/> + <add key="UnobtrusiveJavaScriptEnabled" value="true"/> + </appSettings> - 鍙湪 <httpRuntime> 鏍囪涓婅缃互涓嬬壒鎬с�� - <system.Web> - <httpRuntime targetFramework="4.8" /> - </system.Web> - --> - <system.web> - <httpRuntime targetFramework="4.5"/> - <compilation debug="true" targetFramework="4.8"/> - <pages> - <namespaces> - <add namespace="System.Web.Helpers"/> - <add namespace="System.Web.Mvc"/> - <add namespace="System.Web.Mvc.Ajax"/> - <add namespace="System.Web.Mvc.Html"/> - <add namespace="System.Web.Routing"/> - <add namespace="System.Web.WebPages"/> - </namespaces> - </pages> - </system.web> - <system.webServer> - <validation validateIntegratedModeConfiguration="false"/> - <handlers> - <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/> - <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/> - <remove name="ExtensionlessUrlHandler-Integrated-4.0"/> - <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/> - <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0"/> - <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/> - </handlers> - <directoryBrowse enabled="true"/> - </system.webServer> - <system.serviceModel> - <bindings> - <basicHttpBinding> - <binding name="BasicHttpBinding_IControlCenterWcfService"/> - </basicHttpBinding> - </bindings> - <client> - <endpoint address="http://127.0.0.1:8733/Design_Time_Addresses/iWareCc.WCF.ControlCenter/ControlCenterWcfService/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IControlCenterWcfService" contract="ControlCenterWcfService.IControlCenterWcfService" name="BasicHttpBinding_IControlCenterWcfService"/> - </client> - </system.serviceModel> + <system.web> + <httpRuntime targetFramework="4.5"/> + <compilation debug="true" targetFramework="4.5"/> + <pages> + <namespaces> + <add namespace="System.Web.Helpers"/> + <add namespace="System.Web.Mvc"/> + <add namespace="System.Web.Mvc.Ajax"/> + <add namespace="System.Web.Mvc.Html"/> + <add namespace="System.Web.Routing"/> + <add namespace="System.Web.WebPages"/> + </namespaces> + </pages> + </system.web> + + <system.webServer> + <validation validateIntegratedModeConfiguration="false"/> + <handlers> + <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/> + <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/> + <remove name="ExtensionlessUrlHandler-Integrated-4.0"/> + <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/> + <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0"/> + <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/> + </handlers> + <directoryBrowse enabled="true"/> + </system.webServer> + + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="BasicHttpBinding_IControlCenterWcfService"/> + </basicHttpBinding> + </bindings> + <client> + <endpoint address="http://127.0.0.1:8733/Design_Time_Addresses/iWareCc.WCF.ControlCenter/ControlCenterWcfService/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IControlCenterWcfService" contract="ControlCenterWcfService.IControlCenterWcfService" name="BasicHttpBinding_IControlCenterWcfService"/> + </client> + </system.serviceModel> + <connectionStrings> <add name="DbModelExcel" connectionString="data source=.;initial catalog=WGQ_WB19011_EXCEL;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> <add name="DbModelLog" connectionString="data source=.;initial catalog=WGQ_WB19011_LOG;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> <add name="DbModelCore" connectionString="data source=.;initial catalog=WGQ_WB19011_CORE;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> </connectionStrings> - <runtime> - <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> - <dependentAssembly> - <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/> - </dependentAssembly> - </assemblyBinding> - </runtime> -</configuration> \ No newline at end of file + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral"/> + <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration> -- Gitblit v1.9.3