Implemented distributed caching
This commit is contained in:
@@ -2,6 +2,8 @@ namespace PostFundManagement.Domain.Extensions;
|
||||
|
||||
public static class Constants
|
||||
{
|
||||
public const string CachePolicy = "DefaultCachePolicy";
|
||||
|
||||
public const string EmailtemKey = "UserEmail";
|
||||
|
||||
public const string UserIdItemKey = "UserId";
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
<!-- Transformation -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Humanizer" Version="3.0.10" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.OutputCaching.StackExchangeRedis" Version="10.0.11" />
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.Hybrid" Version="10.9.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="10.0.11" />
|
||||
|
||||
<Using Include="Humanizer" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user