Skip to content
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

多语言混合编程,.net6用EasyCaching读不了python写的Memcached缓存,请问EasyCaching应该怎么读呢?谢谢 #483

Open
Nova2000 opened this issue Jul 21, 2023 · 1 comment

Comments

@Nova2000
Copy link

Nova2000 commented Jul 21, 2023

Description

[Description of the bug or feature]
多语言混合编程,.net6用EasyCaching读不了其他团队python写的缓存,
尝试了以下方法读取均为null
mcProxy.Get("key").Value;
mcProxy.Get<byte[]>("key").Value;
mcProxy.Get("key").Value;
mcProxy.Get("key").Value;
另外调用mcProxy.Exists有如下异常
The binary data must result in a DateTime with ticks between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Arg_ParamName_Name
用.net4.0的dll测试了下可以读取值,读取类型是byte[],转换后可以读取缓存值,请问EasyCaching应该怎么读呢?
谢谢

Specifications

  • Provider : Memcached(version 1.9)
  • Interceptor : .net6.0
  • Serializer : not use
  • System : windows

@catcherwong
Copy link
Member

这个是序列化的问题,可以自己尝试扩展的序列化方式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants