Commit 83f22154 authored by Savorboard's avatar Savorboard Committed by GitHub

update configuration

add supported new database store provider description
parent e76a4299
...@@ -44,10 +44,13 @@ If your Message Queue is using RabbitMQ, you can: ...@@ -44,10 +44,13 @@ If your Message Queue is using RabbitMQ, you can:
PM> Install-Package DotNetCore.CAP.RabbitMQ PM> Install-Package DotNetCore.CAP.RabbitMQ
``` ```
CAP provides EntityFramework as default database store extension (The MySQL version is under development) CAP supported SqlServer, MySql, PostgreSql as message store extension
``` ```
//Select a database provider you are using
PM> Install-Package DotNetCore.CAP.SqlServer PM> Install-Package DotNetCore.CAP.SqlServer
PM> Install-Package DotNetCore.CAP.MySql
PM> Install-Package DotNetCore.CAP.PostgreSql
``` ```
### Configuration ### Configuration
...@@ -69,6 +72,8 @@ public void ConfigureServices(IServiceCollection services) ...@@ -69,6 +72,8 @@ public void ConfigureServices(IServiceCollection services)
// If you are using Dapper,you need to add the config: // If you are using Dapper,you need to add the config:
x.UseSqlServer("Your ConnectionStrings"); x.UseSqlServer("Your ConnectionStrings");
//x.UseMySql("Your ConnectionStrings");
//x.UsePostgreSql("Your ConnectionStrings");
// If your Message Queue is using RabbitMQ you need to add the config: // If your Message Queue is using RabbitMQ you need to add the config:
x.UseRabbitMQ("localhost"); x.UseRabbitMQ("localhost");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment