纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
4.4 KiB

1 year ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. 有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <configSections>
  8. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9. <section name="entityFramework"
  10. type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
  11. requirePermission="false"/>
  12. </configSections>
  13. <connectionStrings configSource="Configs\database.config"/>
  14. <appSettings configSource="Configs\system.config"/>
  15. <system.web>
  16. <httpRuntime targetFramework="4.5" maxRequestLength="999999999" maxQueryStringLength="2097151" />
  17. <compilation debug="true" targetFramework="4.5"/>
  18. <pages>
  19. <namespaces>
  20. <add namespace="System.Web.Helpers"/>
  21. <add namespace="System.Web.Mvc"/>
  22. <add namespace="System.Web.Mvc.Ajax"/>
  23. <add namespace="System.Web.Mvc.Html"/>
  24. <add namespace="System.Web.Routing"/>
  25. <add namespace="System.Web.WebPages"/>
  26. </namespaces>
  27. </pages>
  28. </system.web>
  29. <system.webServer>
  30. <security>
  31. <requestFiltering>
  32. <requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647"/>
  33. </requestFiltering>
  34. </security>
  35. <validation validateIntegratedModeConfiguration="false"/>
  36. <handlers>
  37. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
  38. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/>
  39. <remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
  40. <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule"
  41. scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32"
  42. responseBufferLimit="0"/>
  43. <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule"
  44. scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64"
  45. responseBufferLimit="0"/>
  46. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS"
  47. type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
  48. </handlers>
  49. </system.webServer>
  50. <runtime>
  51. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  52. <dependentAssembly>
  53. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
  54. <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
  55. </dependentAssembly>
  56. <dependentAssembly>
  57. <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
  58. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  59. </dependentAssembly>
  60. <dependentAssembly>
  61. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
  62. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  63. </dependentAssembly>
  64. <dependentAssembly>
  65. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
  66. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  67. </dependentAssembly>
  68. <dependentAssembly>
  69. <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
  70. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  71. </dependentAssembly>
  72. <dependentAssembly>
  73. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
  74. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
  75. </dependentAssembly>
  76. </assemblyBinding>
  77. </runtime>
  78. <system.serviceModel>
  79. <bindings>
  80. <basicHttpBinding>
  81. <binding name="BasicHttpBinding_IU8ERP5" />
  82. </basicHttpBinding>
  83. </bindings>
  84. <client>
  85. <endpoint address="http://zhoubin/ZSU8ERP/U8ERP5.svc" binding="basicHttpBinding"
  86. bindingConfiguration="BasicHttpBinding_IU8ERP5" contract="ServiceReference1.IU8ERP5"
  87. name="BasicHttpBinding_IU8ERP5" />
  88. </client>
  89. </system.serviceModel>
  90. </configuration>