feat: updated caching support

- feat: Added memory caching support
- feat: refactored dependency injection methods
This commit is contained in:
2025-05-19 10:29:52 -06:00
parent f694b9a41a
commit ffed92e85c
6 changed files with 116 additions and 17 deletions

View File

@@ -1,14 +1,15 @@
using Azure.Identity;
using Core.Blueprint.Caching.Contracts;
using Microsoft.Extensions.Logging;
using StackExchange.Redis;
using System.Text.Json;
namespace Core.Blueprint.Redis
namespace Core.Blueprint.Caching
{
/// <summary>
/// Redis cache provider for managing cache operations.
/// </summary>
public sealed class RedisCacheProvider : IRedisCacheProvider
public sealed class RedisCacheProvider : ICacheProvider
{
private IDatabase _cacheDatabase = null!;
private readonly ILogger<RedisCacheProvider> _logger;