-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
My Redis Cache Impl #621
My Redis Cache Impl #621
Conversation
That's awesome! Thank you very much. I will merge and test it. |
I merged your code and refactored. Thanks. The only problem is the unit test is failing. How can we test redis? Is there a way of unit test it? |
This is great! Is there any documentation on how to switch to using the RedisCache instead of the MemoryCache? |
I found a bug in the remove key method of the class AbpRedisCache public override void Remove(string key) =====> public override void Remove(string key) Maybe hikalkan can fix it in the master branch,Thank you. |
I tested it with a simple unit test and see that it's working. To properly work tests, we need Redis installed and running. I installed Redis from https://github.com/MSOpenTech/redis/releases/download/win-3.0.500/Redis-x64-3.0.500.msi (got link from https://github.com/MSOpenTech/redis/releases) |
Switching to RedisCache is easy:
|
I try to switch to RedisCache but I catch an exception. I add
So when I start my solution this is the output: I think somithing is missing... but what? |
I fixed the problem and published Abp.RedisCache 0.7.8.1 nuget package. Please upgrade and re-try. |
Thks! mattia |
Abp Redis Cache Support
I think this is an important component.