Open hchen2020 opened 1 year ago
This is quite easy to do, make your own implementation of MemoryCacheBaseAttribute
like this https://github.com/pamidur/aspect-injector/blob/master/aspects/Cache/MemoryCacheAttribute.cs
in which expose cache controls, for example. If you'd like to contribute your implementation, I'm going to gladly accept your PR :)
Is it possible to provide some approaches to clean the cache in MemoryCache?