I am porting some code from .NET 4.6 with .NET Core and have encountered some problems with MemoryCache. Code 4.6 uses MemoryCache.Default to instantiate the cache, but this does not seem to be available in .NET Core. Is there any equivalent to this in .NET Core, or should I rather create my own MemoryCache as singleton code and inject it through IOC?
henningst
source share