Web.config 5.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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="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"/>
  10. <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"/>
  11. <add name="redisconnstring" connectionString="127.0.0.1:6379" providerName="redis"></add>
  12. </connectionStrings>
  13. <appSettings>
  14. <add key="webpages:Version" value="3.0.0.0"/>
  15. <add key="webpages:Enabled" value="false"/>
  16. <add key="ClientValidationEnabled" value="true"/>
  17. <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
  18. <add key="RouteDebugger:Enabled" value="true"/>
  19. </appSettings>
  20. <system.web>
  21. <compilation debug="true" targetFramework="4.5"/>
  22. <httpRuntime targetFramework="4.5"/>
  23. <httpModules>
  24. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web"/>
  25. </httpModules>
  26. </system.web>
  27. <runtime>
  28. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  29. <dependentAssembly>
  30. <assemblyIdentity name="Common.Logging.Core" publicKeyToken="AF08829B84F0328E" culture="neutral"/>
  31. <bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0"/>
  32. </dependentAssembly>
  33. <dependentAssembly>
  34. <assemblyIdentity name="Quartz" publicKeyToken="F6B8C98A402CC8A4" culture="neutral"/>
  35. <bindingRedirect oldVersion="0.0.0.0-2.4.1.0" newVersion="2.4.1.0"/>
  36. </dependentAssembly>
  37. <dependentAssembly>
  38. <assemblyIdentity name="Common.Logging" publicKeyToken="AF08829B84F0328E" culture="neutral"/>
  39. <bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0"/>
  40. </dependentAssembly>
  41. <dependentAssembly>
  42. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
  43. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
  44. </dependentAssembly>
  45. <dependentAssembly>
  46. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
  47. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
  48. </dependentAssembly>
  49. <dependentAssembly>
  50. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
  51. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
  52. </dependentAssembly>
  53. <dependentAssembly>
  54. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
  55. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  56. </dependentAssembly>
  57. <dependentAssembly>
  58. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
  59. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  60. </dependentAssembly>
  61. <dependentAssembly>
  62. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
  63. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
  64. </dependentAssembly>
  65. </assemblyBinding>
  66. </runtime>
  67. <system.webServer>
  68. <handlers>
  69. <add name="hh" verb="GET,HEAD" path="*.*" type="System.Web.StaticFileHandler"/>
  70. </handlers>
  71. <validation validateIntegratedModeConfiguration="false"/>
  72. <modules>
  73. <remove name="ApplicationInsightsWebTracking"/>
  74. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler"/>
  75. </modules>
  76. <!--<httpRedirect enabled="false" destination="" />
  77. <rewrite>
  78. <rules>
  79. <rule name="HTTP to HTTPS redirect" stopProcessing="true">
  80. <match url="(.*)" />
  81. <conditions>
  82. <add input="{HTTPS}" pattern="off" ignoreCase="true" />
  83. </conditions>
  84. <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
  85. </rule>
  86. </rules>
  87. </rewrite>-->
  88. </system.webServer>
  89. <system.codedom>
  90. <compilers>
  91. <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"/>
  92. <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+"/>
  93. </compilers>
  94. </system.codedom>
  95. </configuration>