You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

105 rivejä
6.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. 有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4. https://go.microsoft.com/fwlink/?LinkId=301880
  5. -->
  6. <configuration>
  7. <configSections>
  8. <section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Microsoft.Practices.Unity.Configuration" />
  9. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  10. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  11. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  12. <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
  13. </configSections>
  14. <connectionStrings configSource="XmlConfig\database.config" />
  15. <unity configSource="XmlConfig\ioc.config" />
  16. <appSettings configSource="XmlConfig\system.config" />
  17. <log4net configSource="XmlConfig\log4net.config" />
  18. <system.web>
  19. <compilation debug="true" targetFramework="4.6.1" />
  20. <httpRuntime targetFramework="4.6.1" />
  21. <httpModules>
  22. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  23. </httpModules>
  24. </system.web>
  25. <runtime>
  26. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  27. <dependentAssembly>
  28. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  29. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
  30. </dependentAssembly>
  31. <dependentAssembly>
  32. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  33. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  34. </dependentAssembly>
  35. <dependentAssembly>
  36. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  37. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  38. </dependentAssembly>
  39. <dependentAssembly>
  40. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  41. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  42. </dependentAssembly>
  43. <dependentAssembly>
  44. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  45. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  46. </dependentAssembly>
  47. <dependentAssembly>
  48. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  49. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  50. </dependentAssembly>
  51. <dependentAssembly>
  52. <assemblyIdentity name="System.IO.Compression" culture="neutral" publicKeyToken="b77a5c561934e089" />
  53. <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
  54. </dependentAssembly>
  55. <dependentAssembly>
  56. <assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
  57. <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
  58. </dependentAssembly>
  59. <dependentAssembly>
  60. <assemblyIdentity name="System.Net.Sockets" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
  61. <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
  62. </dependentAssembly>
  63. <dependentAssembly>
  64. <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  65. <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
  66. </dependentAssembly>
  67. <dependentAssembly>
  68. <publisherPolicy apply="no" />
  69. <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
  70. </dependentAssembly>
  71. </assemblyBinding>
  72. </runtime>
  73. <system.webServer>
  74. <validation validateIntegratedModeConfiguration="false" />
  75. <modules>
  76. <remove name="ApplicationInsightsWebTracking" />
  77. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  78. </modules>
  79. </system.webServer>
  80. <system.codedom>
  81. <compilers>
  82. <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" />
  83. <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+" />
  84. </compilers>
  85. </system.codedom>
  86. <entityFramework>
  87. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  88. <parameters>
  89. <parameter value="mssqllocaldb" />
  90. </parameters>
  91. </defaultConnectionFactory>
  92. <providers>
  93. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  94. <provider invariantName="Oracle.ManagedDataAccess.Client" type="Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=6.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
  95. </providers>
  96. </entityFramework>
  97. <system.data>
  98. <DbProviderFactories>
  99. <remove invariant="MySql.Data.MySqlClient" /><add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
  100. <remove invariant="Oracle.ManagedDataAccess.Client" />
  101. <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
  102. </DbProviderFactories>
  103. </system.data>
  104. </configuration>