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