Skip to content

Commit ff26702

Browse files
authored
Updated hybrid provider documentation
Added a missing package and refactored to the creation of ServerEndPoint object to be consistent within the document by removing the namespace from the beginning.
1 parent 2251cb7 commit ff26702

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/Hybrid.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Install-Package EasyCaching.HybridCache
1919
Install-Package EasyCaching.InMemory
2020
Install-Package EasyCaching.Redis
2121
Install-Package EasyCaching.Bus.Redis
22+
Install-Package EasyCaching.Serialization.Json
2223
```
2324

2425
## 2. Config in Startup class
@@ -41,7 +42,7 @@ public class Startup
4142
// distributed
4243
option.UseRedis(config =>
4344
{
44-
config.DBConfig.Endpoints.Add(new Core.Configurations.ServerEndPoint("127.0.0.1", 6379));
45+
config.DBConfig.Endpoints.Add(new ServerEndPoint("127.0.0.1", 6379));
4546
config.DBConfig.Database = 5;
4647
config.SerializerName = "myjson";
4748
}, "myredis");

0 commit comments

Comments
 (0)