diff --git a/docs/Hybrid.md b/docs/Hybrid.md index 3552a2eb..fc1196fb 100644 --- a/docs/Hybrid.md +++ b/docs/Hybrid.md @@ -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 @@ -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");