-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not find the matched serializer instance, serializer name is redis1 #370
Comments
@ysq5202121 Thanks for your interest in this project. The default serializer's implementation of EasyCaching is BinaryFormatter, but after version .net 5 , it will no longer support, and we will remove it in next two release. So we decided to upgrade for users to have a transitional period, let users adapt to the provider should specify the SerializerName. Take a look on the following example. option.UseRedis(config =>
{
config.DBConfig.Endpoints.Add(new ServerEndPoint("127.0.0.1", 6379));
// specify the SerializerName
config.SerializerName = "mymsgpack";
}, "redis1")
// using MessagePack to serialize caching data.
.WithMessagePack("mymsgpack"); |
The online docs are outdated, It does not mention this at :https://easycaching.readthedocs.io/ |
The text was updated successfully, but these errors were encountered: