From f4c6ac315102c3a64da3a8f2d12b2d9042b5effd Mon Sep 17 00:00:00 2001 From: yirongjin <yirongjin1234@163.com> Date: 周三, 23 7月 2025 14:45:05 +0800 Subject: [PATCH] 1、新增交接文档 2、升级项目框架4.5 --- qqjf-Background/WebApi_QQJF/Web.config | 77 ++++++++++++++++++++------------------ 1 files changed, 41 insertions(+), 36 deletions(-) diff --git a/qqjf-Background/WebApi_QQJF/Web.config b/qqjf-Background/WebApi_QQJF/Web.config index ac4673d..5d79bed 100644 --- a/qqjf-Background/WebApi_QQJF/Web.config +++ b/qqjf-Background/WebApi_QQJF/Web.config @@ -1,19 +1,27 @@ -锘�<?xml version="1.0" encoding="utf-8"?> +锘�<?xml version="1.0"?> <!-- 鏈夊叧濡備綍閰嶇疆 ASP.NET 搴旂敤绋嬪簭鐨勮缁嗕俊鎭紝璇疯闂� http://go.microsoft.com/fwlink/?LinkId=301879 --> <configuration> <appSettings> - <add key="webpages:Version" value="3.0.0.0" /> - <add key="webpages:Enabled" value="false" /> - <add key="ClientValidationEnabled" value="true" /> - <add key="UnobtrusiveJavaScriptEnabled" value="true" /> + <add key="webpages:Version" value="3.0.0.0"/> + <add key="webpages:Enabled" value="false"/> + <add key="ClientValidationEnabled" value="true"/> + <add key="UnobtrusiveJavaScriptEnabled" value="true"/> </appSettings> + <!-- + 鏈夊叧 web.config 鏇存敼鐨勮鏄庯紝璇峰弬瑙� http://go.microsoft.com/fwlink/?LinkId=235367銆� + + 鍙湪 <httpRuntime> 鏍囪涓婅缃互涓嬬壒鎬с�� + <system.Web> + <httpRuntime targetFramework="4.8" /> + </system.Web> + --> <system.web> - <compilation debug="true" targetFramework="4.5" /> - <httpRuntime targetFramework="4.5" /> - <customErrors mode="Off" /> + <compilation debug="true" targetFramework="4.8"/> + <httpRuntime targetFramework="4.5"/> + <customErrors mode="Off"/> </system.web> <system.webServer> <httpProtocol> @@ -27,64 +35,61 @@ <!--<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />--> </customHeaders> </httpProtocol> - <directoryBrowse enabled="true" /> + <directoryBrowse enabled="true"/> <handlers> - <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> - <remove name="OPTIONSVerbHandler" /> - <remove name="TRACEVerbHandler" /> - <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <remove name="ExtensionlessUrlHandler-Integrated-4.0"/> + <remove name="OPTIONSVerbHandler"/> + <remove name="TRACEVerbHandler"/> + <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/> </handlers> </system.webServer> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> - <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /> - <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /> + <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/> + <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> - <bindingRedirect oldVersion="1.0.0.0-5.0.0.0" newVersion="5.0.0.0" /> + <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/> + <bindingRedirect oldVersion="1.0.0.0-5.0.0.0" newVersion="5.0.0.0"/> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" /> - <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" /> + <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/> + <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /> - <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /> + <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/> + <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" /> - <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /> - <bindingRedirect oldVersion="0.0.0.0-5.2.9.0" newVersion="5.2.9.0" /> + <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral"/> + <bindingRedirect oldVersion="0.0.0.0-5.2.9.0" newVersion="5.2.9.0"/> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /> - <bindingRedirect oldVersion="0.0.0.0-5.2.9.0" newVersion="5.2.9.0" /> + <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral"/> + <bindingRedirect oldVersion="0.0.0.0-5.2.9.0" newVersion="5.2.9.0"/> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> - <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/> + <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> <connectionStrings> - <add name="Model1" connectionString="data source=.\SqlExpress;initial catalog=202312061430;persist security info=True;user id=sa;password=123456;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" /> + <add name="Model1" connectionString="data source=.\SqlExpress;initial catalog=202312061430;persist security info=True;user id=sa;password=123456;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> </connectionStrings> <system.serviceModel> <bindings> <basicHttpBinding> - <binding name="BasicHttpBinding_ISrmService" /> + <binding name="BasicHttpBinding_ISrmService"/> </basicHttpBinding> </bindings> <client> - <endpoint address="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/" - binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISrmService" - contract="SrmServer.ISrmService" name="BasicHttpBinding_ISrmService" /> + <endpoint address="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISrmService" contract="SrmServer.ISrmService" name="BasicHttpBinding_ISrmService"/> </client> </system.serviceModel> -</configuration> - +</configuration> \ No newline at end of file -- Gitblit v1.9.3