Skip to content

Commit

Permalink
Merge pull request #373 from JudeVajira/patch-1
Browse files Browse the repository at this point in the history
Updated hybrid  provider documentation
  • Loading branch information
catcherwong authored Jun 12, 2022
2 parents 2251cb7 + ff26702 commit 6b3f478
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/Hybrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Install-Package EasyCaching.HybridCache
Install-Package EasyCaching.InMemory
Install-Package EasyCaching.Redis
Install-Package EasyCaching.Bus.Redis
Install-Package EasyCaching.Serialization.Json
```

## 2. Config in Startup class
Expand All @@ -41,7 +42,7 @@ public class Startup
// distributed
option.UseRedis(config =>
{
config.DBConfig.Endpoints.Add(new Core.Configurations.ServerEndPoint("127.0.0.1", 6379));
config.DBConfig.Endpoints.Add(new ServerEndPoint("127.0.0.1", 6379));
config.DBConfig.Database = 5;
config.SerializerName = "myjson";
}, "myredis");
Expand Down

0 comments on commit 6b3f478

Please sign in to comment.