郑许地铁

Web.config 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. 有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <appSettings>
  8. <add key="owin:AutomaticAppStartup" value="false" />
  9. <add key="webpages:Version" value="2.0.0.0" />
  10. <add key="webpages:Enabled" value="false" />
  11. <add key="PreserveLoginUrl" value="true" />
  12. <add key="ClientValidationEnabled" value="true" />
  13. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  14. <add key="sqllog" value="1" />
  15. <add key="filesuffix" value="png;jpg;jpeg;mp4;avi;mp3;pdf;doc;docx;wps;xls;xlsx;txt;RAR;zip;7z;ppt;pptx" />
  16. <add key="domain" value="http://10.200.46.27:801" />
  17. <add key="sso" value="http://testidm.zzmetro.cn:7799/Default/SSO" />
  18. </appSettings>
  19. <connectionStrings>
  20. <!-- ZZMetro_CallCenter20200108-->
  21. <add name="ConnectionString" connectionString="Data Source=192.168.1.37;User ID=sa;pwd=hykj800100;Initial Catalog=ZXMetro_CallCenter;Max Pool Size = 5120;pooling=true;" />
  22. <!--<add name="MySqlconnection" connectionString="Data Source=.;User ID=sa;pwd=123456;Initial Catalog=ZZMetro_CallCenter;Max Pool Size = 5120;pooling=true;" />-->
  23. <!--<add name="MySqlconnection" connectionString="server=.;Port=3310;User ID=sa;Password=123456;database=ditiekf;charset=utf8mb4;Allow User Variables=true;" />-->
  24. <add name="MySqlconnection" connectionString="server=121.196.219.217;Port=3310;User ID=admin;Password=hykj800100;database=ditiekf;charset=utf8mb4;Allow User Variables=true;" />
  25. </connectionStrings>
  26. <system.web>
  27. <customErrors mode="Off" />
  28. <httpRuntime targetFramework="4.5" maxRequestLength="20971520" executionTimeout="3600" />
  29. <compilation debug="true" targetFramework="4.5" />
  30. <pages>
  31. <namespaces>
  32. <add namespace="System.Web.Helpers" />
  33. <add namespace="System.Web.Mvc" />
  34. <add namespace="System.Web.Mvc.Ajax" />
  35. <add namespace="System.Web.Mvc.Html" />
  36. <add namespace="System.Web.Routing" />
  37. <add namespace="System.Web.WebPages" />
  38. </namespaces>
  39. </pages>
  40. </system.web>
  41. <system.webServer>
  42. <validation validateIntegratedModeConfiguration="false" />
  43. <staticContent>
  44. <remove fileExtension=".woff" />
  45. <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
  46. <remove fileExtension=".woff2" />
  47. <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
  48. </staticContent>
  49. <httpProtocol>
  50. <customHeaders>
  51. <add name="Access-Control-Allow-Origin" value="*" />
  52. <add name="Access-Control-Allow-Headers" value="Content-Type" />
  53. <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
  54. </customHeaders>
  55. </httpProtocol>
  56. <handlers>
  57. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
  58. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
  59. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  60. <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" />
  61. <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" />
  62. <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" />
  63. </handlers>
  64. </system.webServer>
  65. <runtime>
  66. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  67. <dependentAssembly>
  68. <assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
  69. <bindingRedirect oldVersion="0.0.0.0-6.9.12.0" newVersion="6.9.12.0" />
  70. </dependentAssembly>
  71. <dependentAssembly>
  72. <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  73. <bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
  74. </dependentAssembly>
  75. <dependentAssembly>
  76. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  77. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
  78. </dependentAssembly>
  79. <dependentAssembly>
  80. <assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
  81. <bindingRedirect oldVersion="0.0.0.0-0.85.4.369" newVersion="0.85.4.369" />
  82. </dependentAssembly>
  83. </assemblyBinding>
  84. </runtime>
  85. </configuration>