net-dynamic-api
net-dynamic-api copied to clipboard
Implement Caching
Classes can be configured to have caching enabled and a cache lifetime set. If a class has these two config values set the library is supposed to automatically cache the API results for this specific class.
Caching should be implemented in various ways
- Implement a generic ICachable interface with store, get and delete methods
- Add the interface to the GenericRepository and make sure the methods are called in the coresponding methods
- Add necessary functionality to support either InMemoryCache or Redis
- Add OutputCaching (See Here) and make it configurable