© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
20 replies
Alerin

How the cache is stored

Hi, what kind of cache library do you use?
How to solve the problem of multiple keys?
Here is a similar problem:
https://stackoverflow.com/questions/59103206/how-to-cache-an-object-with-multiple-keys-in-c-sharp
The solution is interesting, but it makes the cache constant and can overflow (no expiry date of the item)
Stack Overflow
How to cache an object with multiple keys in C#
I have models that are unique in 2 or more properties. For example, objects of the class Entity are unique both by name and by ID.

public class Entity
{
public int Id { get; set; }
public
How to cache an object with multiple keys in C#
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Typically how is an image stored?
C#CC# / help
2y ago
❔ Were is the data stored at in this project?
C#CC# / help
3y ago
✅ Stored Procedure Help
C#CC# / help
3y ago
❔ How to get azure cache for Redis connection string stored in app service as a appsetting variable
C#CC# / help
3y ago