Web.config 1.4 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework" requirePermission="false" />
  5. </configSections>
  6. <connectionStrings>
  7. <add name="MySQL" connectionString="server=localhost;user id=benchmarkdbuser;password=benchmarkdbpass;database=hello_world" providerName="MySql.Data.MySqlClient" />
  8. <add name="PostgreSQL" connectionString="server=localhost;user id=benchmarkdbuser;password=benchmarkdbpass;database=hello_world" providerName="Npgsql" />
  9. <add name="MongoDB" connectionString="mongodb://localhost" />
  10. </connectionStrings>
  11. <system.data>
  12. <DbProviderFactories>
  13. <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".NET Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
  14. <add name="Npgsql Data Provider" invariant="Npgsql" description="Data Provider for PostgreSQL" type="Npgsql.NpgsqlFactory, Npgsql" />
  15. </DbProviderFactories>
  16. </system.data>
  17. <entityFramework>
  18. <providers>
  19. <provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity" />
  20. </providers>
  21. </entityFramework>
  22. <system.web>
  23. <customErrors mode="Off" />
  24. <compilation debug="true"/>
  25. </system.web>
  26. </configuration>