CacheManager icon indicating copy to clipboard operation
CacheManager copied to clipboard

Release 2.0 PR with a lot of changes

Open MichaCo opened this issue 3 years ago • 9 comments

  • [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.

MichaCo avatar May 30 '21 23:05 MichaCo

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!

suntereo avatar Jun 01 '21 15:06 suntereo

Hi!

When will this version be released?

educosta avatar Jun 24 '21 00:06 educosta

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...

MichaCo avatar Jun 29 '21 10:06 MichaCo

Would it be possible to bump the StackExchange.Redis version to 2.2.62? https://github.com/StackExchange/StackExchange.Redis/tags

frg avatar Jul 30 '21 14:07 frg

@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

MichaCo avatar Jul 30 '21 15:07 MichaCo

You're right. Thanks!

Also, looking forward for this update. Great work!

frg avatar Jul 30 '21 15:07 frg

Any update on this? We've been waiting over a year for netstandard packages.

robertcoltheart avatar Sep 15 '21 02:09 robertcoltheart

@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.

frg avatar Sep 15 '21 07:09 frg

Any updates on this ?

muhmuhhum avatar Jan 24 '22 07:01 muhmuhhum