CacheManager
CacheManager copied to clipboard
Release 2.0 PR with a lot of changes
- [x] net50 targets
- [x] updated dependencies to reasonable versions
- [x] latest Redis client
- [x] Fixing #300
- [x] Removed all configuration options for perf counters. This will throw an error if you use app/web.config and still have the property set.
Breaking Changes:
REMOVED Binary Serializer
For many reasons I decided to drop support for binary serialization. It was never a good option in the first place because of performance and Microsoft made it obsolete in NET50 because of security issues, too, see https://docs.microsoft.com/de-de/dotnet/fundamentals/syslib-diagnostics/syslib0011
REMOVED Performance Counters
This feature didn't really work great with distributed caches, I never used it and it causes more issues then it has value I think.
Microsoft.Configuration integration
I removed 2 extensions which either created a new ILoggerFactory or constructed the service provider to resolve one. Both extensions are error prone and might lead to confusion. Therefore I deleted them. There is only one extension which takes an existing ILoggerFactory which will work with all versions of those MS Extensions.
This is good news for us! I started evaluating this for use in a new project last week and was concerned about the project being dead. Happy to see new activity!
Hi!
When will this version be released?
When I have time to fix some issues with the CI pipeline. Trying to replace the old one with Github actions. But its a pain in the a...
Would it be possible to bump the StackExchange.Redis
version to 2.2.62
? https://github.com/StackExchange/StackExchange.Redis/tags
@frg I'm already using 2.2 of the client. Minor version updates should be compatible. So you can always choose to manually use a newer version then what the CacheManager reference uses by just referencing it with a PackageReference in your project.
Libraries, like CacheManager, should be more lax in terms of dependencies, otherwise I basically force consumers to update to the latest, which might not always be the greatest ^^
But I'll take a look regarding what changed
You're right. Thanks!
Also, looking forward for this update. Great work!
Any update on this? We've been waiting over a year for netstandard
packages.
@robertcoltheart Keep in mind this is an open-source project. There's no guarantee for updates or timelines. One of the beauties of open-source projects is that you can fork and develop your own, which is what we did.
Any updates on this ?