Closed natiki closed 5 years ago
I'm not the owner of that blog or github repo and the code samples, I guess you should ask there.
But anyways, the solution there uses the old csproj system and the full .NET framework. It also uses ConfigurationManager, and the old xml based configuration system. That doesn't exist in netstandard2.0.
CacheManager <=1.2.0 doesn't support that way of configuration with netstandard, that's why that overload in CacheFactory doesn't exist for you.
Support for that will come back in CacheManager 2.0 or so because MS added support back with the System.Configuration.ConfigurationManager
nuget package.
Hi @MichaCo,
I appreciate you are not the owner of that blog just gave it for context....
Hi,
I am following http://blog.chudinov.net/my-cache-interface-and-implementations/ but want to put this into a .NET Standard library. So I create a .NET Standard 2.0 class library:
and then took the code from https://github.com/mchudinov/CacheNet. But when I compile it I get the following error:
with the following package versions:
For the life of me I cannot figure out how to create the ICacheManagerConfiguration such that it reads the settings from web.config.
Can you please point me in the right direction?