| | |
| | | <?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> |
| | |
| | | <!--<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> |