Web1.config 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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="SCCConnectionString" connectionString="server=61.156.157.244;database=LotteryNumber_Dev;uid=sa;pwd=Txwl224!lwxt;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=61.156.157.244;database=LotteryNumber_Dev;uid=sa;pwd=Txwl224!lwxt;Connect Timeout=30;persist security info=false;Pooling=true;" providerName="System.Data.SqlClient"/>-->
  13. </connectionStrings>
  14. <appSettings>
  15. <add key="webpages:Version" value="3.0.0.0" />
  16. <add key="webpages:Enabled" value="false" />
  17. <add key="ClientValidationEnabled" value="true" />
  18. <add key="UnobtrusiveJavaScriptEnabled" 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="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  31. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  32. </dependentAssembly>
  33. <dependentAssembly>
  34. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  35. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  36. </dependentAssembly>
  37. <dependentAssembly>
  38. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  39. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  40. </dependentAssembly>
  41. <dependentAssembly>
  42. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  43. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  44. </dependentAssembly>
  45. <dependentAssembly>
  46. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  47. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  48. </dependentAssembly>
  49. <dependentAssembly>
  50. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  51. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  52. </dependentAssembly>
  53. </assemblyBinding>
  54. </runtime>
  55. <system.webServer>
  56. <handlers>
  57. <add name="hh" verb="GET,HEAD" path="*.html" type="System.Web.StaticFileHandler"/>
  58. </handlers>
  59. <validation validateIntegratedModeConfiguration="false" />
  60. <modules>
  61. <remove name="ApplicationInsightsWebTracking" />
  62. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  63. </modules>
  64. </system.webServer>
  65. <system.codedom>
  66. <compilers>
  67. <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" />
  68. <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+" />
  69. </compilers>
  70. </system.codedom>
  71. </configuration>