-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Getting all cache keys Microsoft.Extensions.Caching.Memory #36026
Comments
Using Following workaround at the moment. I am using .net core 3.1
|
If you really, really, really have to do something like this, at least move the Btw maybe this is what you are looking for. |
I know about option in System.Runtime.Cache. where i get the list of all keys like I have got the above option from |
This isn't something that's currently supported, it would require an API change to the |
i have an old implementation of object caching which i have migrated in .net core. |
I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label. |
+1, .net has two(!) implementations of MemoryCache and both are terrible! |
Thanks @KamranShahid for your issue. The next step for this would be to add API proposal, and example usage. Refer to https://github.com/dotnet/runtime/blob/master/docs/project/api-review-process.md for more detail. |
Can you suggest how? |
I too display interest in dealing somehow with the keys. Therefore my cache legitim could furnish the cached value for the following key request :
I am not sure anymore this class is the right one here. What is your take on ? |
@KamranShahid As @maryamariyan has pointed (#36026 (comment)), you need to provide the API proposal using the official template. Once you do that and we have a better understanding of what problem the API would try to solve, we can continue the process of adding new API. |
This issue has been automatically marked |
requirement is quite clear and i have put a solution as well which i am using |
I don't see us working on this feature item anytime soon, closing since it does not seem like a blocking item either. |
Is there anything available at this time for getting list of keys?
The text was updated successfully, but these errors were encountered: