Web.config 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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="mysql" connectionString="Server=120.77.174.236;Uid=root;Pwd={cp55128-mysql-kjh};Database=cp55128;Port=3306;SslMode=none;CharSet=utf8;Convert Zero Datetime=True;Allow Zero Datetime=True" providerName="MySql.Data.MySqlClient" />
  9. </connectionStrings>
  10. <appSettings>
  11. <!--走勢圖缓存清理接口-->
  12. <add key="www55128" value="https://www.55128.cn/RemoveCache?ename=" />
  13. <!--api开奖号缓存清理接口-->
  14. <add key="api55128" value="http://120.77.174.236:800/api/RemoveCache?ename=" />
  15. <add key="CzCodeXml" value="/Config/LotteryCode.xml" />
  16. <add key="webpages:Version" value="3.0.0.0" />
  17. <add key="webpages:Enabled" value="false" />
  18. <add key="ClientValidationEnabled" value="true" />
  19. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  20. </appSettings>
  21. <system.web>
  22. <compilation debug="true" targetFramework="4.6.1" />
  23. <httpRuntime targetFramework="4.6.1" />
  24. <httpModules>
  25. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  26. </httpModules>
  27. </system.web>
  28. <runtime>
  29. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  30. <dependentAssembly>
  31. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  32. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  33. </dependentAssembly>
  34. <dependentAssembly>
  35. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  36. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  37. </dependentAssembly>
  38. <dependentAssembly>
  39. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  40. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  41. </dependentAssembly>
  42. <dependentAssembly>
  43. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  44. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  45. </dependentAssembly>
  46. <dependentAssembly>
  47. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  48. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  49. </dependentAssembly>
  50. <dependentAssembly>
  51. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  52. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  53. </dependentAssembly>
  54. <dependentAssembly>
  55. <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
  56. <bindingRedirect oldVersion="0.0.0.0-4.9.2.0" newVersion="4.9.2.0" />
  57. </dependentAssembly>
  58. <dependentAssembly>
  59. <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
  60. <bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
  61. </dependentAssembly>
  62. <dependentAssembly>
  63. <assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
  64. <bindingRedirect oldVersion="0.0.0.0-3.6.1.0" newVersion="3.6.1.0" />
  65. </dependentAssembly>
  66. </assemblyBinding>
  67. </runtime>
  68. <system.webServer>
  69. <validation validateIntegratedModeConfiguration="false" />
  70. <modules>
  71. <remove name="ApplicationInsightsWebTracking" />
  72. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  73. </modules>
  74. </system.webServer>
  75. <system.codedom>
  76. <compilers>
  77. <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:default /nowarn:1659;1699;1701" />
  78. <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:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  79. </compilers>
  80. </system.codedom>
  81. </configuration>