Web.config 5.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. 有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4. https://go.microsoft.com/fwlink/?LinkId=301880
  5. -->
  6. <configuration>
  7. <connectionStrings>
  8. <add name="ZXonnectionString" connectionString="server=119.23.72.139;database=LottomatBaseDB;uid=sa;pwd=NK4Qwql8Z?csv(XNew;Connect Timeout=30;persist security info=false;Pooling=true;" providerName="System.Data.SqlClient"/>
  9. <!--<add name="SCCConnectionString" connectionString="server=192.168.1.120;database=CB55128_test;uid=sa;pwd=magiclinuxT220;Connect Timeout=30;persist security info=false;Pooling=true;" providerName="System.Data.SqlClient"/>-->
  10. <!--<add name="KJonnectionString" connectionString="server=192.168.1.5;database=LotteryNumber_Dev;uid=sa;pwd=TXwl123456;Connect Timeout=30;persist security info=false;Pooling=true;" providerName="System.Data.SqlClient" />-->
  11. <!--<add name="ZXonnectionString" connectionString="server=192.168.1.5;database=LottomatBaseDB_Dev;uid=sa;pwd=TXwl123456;Connect Timeout=30;persist security info=false;Pooling=true;" providerName="System.Data.SqlClient" />-->
  12. <add name="KJonnectionString" connectionString="server=119.23.72.139;database=LotteryNumber;uid=sa;pwd=NK4Qwql8Z?csv(XNew;Connect Timeout=30;persist security info=false;Pooling=true;" providerName="System.Data.SqlClient"/>
  13. <add name="CB55128ConnectionString" connectionString="server=119.23.72.139;database=CB55128;uid=sa;pwd=NK4Qwql8Z?csv(XNew;Connect Timeout=30;persist security info=false;Pooling=true;" providerName="System.Data.SqlClient"/>
  14. <add name="redisconnstring" connectionString="127.0.0.1:6379" providerName="redis"></add>
  15. </connectionStrings>
  16. <appSettings>
  17. <add key="webpages:Version" value="3.0.0.0"/>
  18. <add key="webpages:Enabled" value="false"/>
  19. <add key="ClientValidationEnabled" value="true"/>
  20. <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
  21. <add key="RouteDebugger:Enabled" value="true"/>
  22. <add key="IsOpenIntercept" value="true" />
  23. <add key="InterceptView" value="/error500.html" />
  24. <!--分钟-->
  25. <add key="OutTime" value="60" />
  26. </appSettings>
  27. <system.web>
  28. <compilation debug="true" targetFramework="4.5"/>
  29. <httpRuntime targetFramework="4.5"/>
  30. <httpModules>
  31. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web"/>
  32. </httpModules>
  33. </system.web>
  34. <runtime>
  35. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  36. <dependentAssembly>
  37. <assemblyIdentity name="Common.Logging.Core" publicKeyToken="AF08829B84F0328E" culture="neutral"/>
  38. <bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0"/>
  39. </dependentAssembly>
  40. <dependentAssembly>
  41. <assemblyIdentity name="Quartz" publicKeyToken="F6B8C98A402CC8A4" culture="neutral"/>
  42. <bindingRedirect oldVersion="0.0.0.0-2.4.1.0" newVersion="2.4.1.0"/>
  43. </dependentAssembly>
  44. <dependentAssembly>
  45. <assemblyIdentity name="Common.Logging" publicKeyToken="AF08829B84F0328E" culture="neutral"/>
  46. <bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0"/>
  47. </dependentAssembly>
  48. <dependentAssembly>
  49. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
  50. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
  51. </dependentAssembly>
  52. <dependentAssembly>
  53. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
  54. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
  55. </dependentAssembly>
  56. <dependentAssembly>
  57. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
  58. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
  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="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  67. </dependentAssembly>
  68. <dependentAssembly>
  69. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
  70. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
  71. </dependentAssembly>
  72. </assemblyBinding>
  73. </runtime>
  74. <system.webServer>
  75. <handlers>
  76. <add name="hh" verb="GET,HEAD" path="*.*" type="System.Web.StaticFileHandler"/>
  77. </handlers>
  78. <validation validateIntegratedModeConfiguration="false"/>
  79. <modules>
  80. <remove name="ApplicationInsightsWebTracking"/>
  81. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler"/>
  82. </modules>
  83. </system.webServer>
  84. <system.codedom>
  85. <compilers>
  86. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
  87. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
  88. </compilers>
  89. </system.codedom>
  90. </configuration>