Version Notes

Version 1.0.0 [22.06.2025]

  • Unified Caching Abstraction:

    • IRENCacheService interface provides a common contract for all cache operations.

  • Out-of-the-Box Implementations:

    • RENInMemoryCacheService for high-speed, local memory caching.

    • RENRedisCacheService for distributed caching with Redis.

  • Flexible Configuration:

    • Support for configuration via appsettings.json for both in-memory and Redis providers.

    • Customizable expiration (absolute & sliding) settings.

    • Redis admin mode (for flush operations) toggle.

  • Synchronous & Asynchronous Methods:

    • All major operations (get, set, remove, clear) available in both sync and async forms.

  • Extensible & Overridable:

    • All service methods marked virtual for easy overriding.

    • Simple extension: add new methods via interface inheritance.

    • Supports registration of custom cache implementations (override or extend).

  • Proven DI Integration:

    • Clean extension methods for registering any implementation via AddRENCaching.

    • Flexible type-based DI registration for interface and concrete class.

  • Sample Usage:

    • API controller and usage examples for all standard, extended, and overridden cache services.


Feedback

Found a bug or want to suggest a feature? Please open an issue on GitHub or contact the maintainers. We value your feedback to make REN.DataKit even better!

Last updated