-
-
Notifications
You must be signed in to change notification settings - Fork 456
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
.NET Standard 2.0 support #221
Comments
…ETStandard2.0 target. More if deffing and workarounds for ConfigurationManager in tests... #221
any news on this? or more poignantly, any where to get the nuget package(s)? :) |
@bbqchickenrobot you can get the beta packages from the myget feed and give it a try until I release it. |
So if it looks like system.type will not have binary serialization support, does that mean we will just have to use |
@maldworth You can use any other serializer wich supports .NET Core |
Change StackExchangeRedis reference to 2.x #251
Main changes to target netstandard 2.0 are done I'm not really happy of how some DI things work right now with the DI extension package, so I might actually rework that quite a bit. |
Very happy to see this effort! :) |
I decided to re-release 1.1.2 with just the Redis upgarde and some .NET Standard 2.0 support additions. There are no new features or ported functionality to .NETStandard 2.0 in that CacheManager 1.2.0 release. It is exactly the same code as 1.1.2 but with those 2 additions. Hope that helps! |
Need help with anything? |
Hello, any news on when the 2.x version will be released ? Thank you. |
Any updates? |
Hi, Thanks! |
@amirxnz you can totally use the current release with .NET Core and ASP.NET Core, I'm using it for the past 2 years in production. CM Version 1.2.0 targets .netstandard 2.0, which means you can use it with everything .NET Core and there shouldn't really be any issues... Otherwise, let me know. |
Hi, We are having some trouble with the CacheManager.SystemRuntimeCaching? It is our understanding that this package is needed if we want to keep the results locally in addition to having a redis backplane? Is this correct? Thanks |
As an alternative, you can use CM with Microsoft.Extensions.Caching instead or just the simple dictionary cache from the CacheManager.Core package. Both work cross plat. |
Is my understanding correct that iff we use the simple "WithDictionaryHandle()" that means that we need to make sure there are no concurrency issues? Thanks again for all your support, we really appreciate it |
Hey @amirxnz, no, the simple CM Dictionary handle also uses a ConcurrentDictionary internally and is supposed to be thread-safe. So, just choose the one you think works best for you. |
Ok Thanks! |
ask for help https://github.com/MichaCo/CacheManager/issues/323 I have two projects operating a redis. This causes the. Net framework project to write to a cache . . Net core project that cannot be serialized But. Net core does not have withbinaryserializer. How can I replace it ? `
#endif |
:update:
Version 1.2.0 of CacheManager was released with the 1.x branch targeting .NetStandard 2.0, including the change to the new redis client version.
Breaking Change
I will drop any lower netstandard target in packages which had .netstandard1.x.
Also, .NET4.0 support will be removed.
Because this is a bigger change, this will be a major version release (2.0), together with upgrading Stackexchange.Redis to 2.x, see #251.
Changes
System.Type
will not be supported... => no support for Binary Serializer in netstandard2.0System.Configuration.ConfigurationManager
(package is currently in preview and breaks other projects because of mismatching deps)The text was updated successfully, but these errors were encountered: