Skip to content

Commit eba26f9

Browse files
Merge branch 'release/v1.0.8'
2 parents 9a51ee3 + e79daf5 commit eba26f9

File tree

15 files changed

+600
-433
lines changed

15 files changed

+600
-433
lines changed

README-VIETNAMESE.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44

55
#
66

7-
![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?logo=visual-studio-code&logoColor=white) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) ![GitHub Release](https://img.shields.io/github/v/release/minhsangdotcom/Clean-Architecture_The-Template?color=orange) ![GitHub Org's stars](https://img.shields.io/github/stars/minhsangdotcom%2FClean-Architecture_The-Template?color=pink) ![GitHub forks](https://img.shields.io/github/forks/minhsangdotcom/Clean-Architecture_The-Template?color=%23f61d9c) [![NuGet Version](https://img.shields.io/nuget/v/minhsangdotcom.TheTemplate.SharedKernel?label=SharedKernel&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.SharedKernel) [![NuGet Version](https://img.shields.io/nuget/vpre/minhsangdotcom.TheTemplate.SpecificationPattern?style=flat&label=SpecificationPattern&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.SpecificationPattern/) [![NuGet Version](https://img.shields.io/nuget/vpre/minhsangdotcom.TheTemplate.ElasticsearchFluentConfig?style=flat&label=ElasticsearchFluentConfig&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.ElasticsearchFluentConfig/1.0.1-alpha)
7+
8+
![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?logo=visual-studio-code&logoColor=white)
9+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
10+
![GitHub Release](https://img.shields.io/github/v/release/minhsangdotcom/clean-architecture?color=orange)
11+
![GitHub Org's stars](https://img.shields.io/github/stars/minhsangdotcom%2Fclean-architecture?color=pink)
12+
![GitHub forks](https://img.shields.io/github/forks/minhsangdotcom/clean-architecture?color=%23f61d9c)
13+
[![NuGet Version](https://img.shields.io/nuget/v/minhsangdotcom.TheTemplate.SharedKernel?label=SharedKernel&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.SharedKernel)
14+
[![NuGet Version](https://img.shields.io/nuget/v/TranMinhSang.DynamicQueryExtension.EntityFrameworkCore?label=DynamicQueryExtension&color=red)](https://www.nuget.org/packages/TranMinhSang.DynamicQueryExtension.EntityFrameworkCore)
15+
[![NuGet Version](https://img.shields.io/nuget/vpre/minhsangdotcom.TheTemplate.SpecificationPattern?style=flat&label=SpecificationPattern&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.SpecificationPattern/)
16+
[![NuGet Version](https://img.shields.io/nuget/vpre/minhsangdotcom.TheTemplate.ElasticsearchFluentConfig?style=flat&label=ElasticsearchFluentConfig&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.ElasticsearchFluentConfig/1.0.1-alpha)
817

918
# Bảng nội dung <div id= "bang-noi-dung"/>
1019

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
44

55
#
66

7-
![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?logo=visual-studio-code&logoColor=white) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) ![GitHub Release](https://img.shields.io/github/v/release/minhsangdotcom/clean-architecture?color=orange) ![GitHub Org's stars](https://img.shields.io/github/stars/minhsangdotcom%2Fclean-architecture?color=pink) ![GitHub forks](https://img.shields.io/github/forks/minhsangdotcom/clean-architecture?color=%23f61d9c) [![NuGet Version](https://img.shields.io/nuget/v/minhsangdotcom.TheTemplate.SharedKernel?label=SharedKernel&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.SharedKernel) [![NuGet Version](https://img.shields.io/nuget/vpre/minhsangdotcom.TheTemplate.SpecificationPattern?style=flat&label=SpecificationPattern&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.SpecificationPattern/) [![NuGet Version](https://img.shields.io/nuget/vpre/minhsangdotcom.TheTemplate.ElasticsearchFluentConfig?style=flat&label=ElasticsearchFluentConfig&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.ElasticsearchFluentConfig/1.0.1-alpha)
7+
![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?logo=visual-studio-code&logoColor=white)
8+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
9+
![GitHub Release](https://img.shields.io/github/v/release/minhsangdotcom/clean-architecture?color=orange)
10+
![GitHub Org's stars](https://img.shields.io/github/stars/minhsangdotcom%2Fclean-architecture?color=pink)
11+
![GitHub forks](https://img.shields.io/github/forks/minhsangdotcom/clean-architecture?color=%23f61d9c)
12+
[![NuGet Version](https://img.shields.io/nuget/v/minhsangdotcom.TheTemplate.SharedKernel?label=SharedKernel&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.SharedKernel)
13+
[![NuGet Version](https://img.shields.io/nuget/v/TranMinhSang.DynamicQueryExtension.EntityFrameworkCore?label=DynamicQueryExtension&color=red)](https://www.nuget.org/packages/TranMinhSang.DynamicQueryExtension.EntityFrameworkCore)
14+
[![NuGet Version](https://img.shields.io/nuget/vpre/minhsangdotcom.TheTemplate.SpecificationPattern?style=flat&label=SpecificationPattern&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.SpecificationPattern/)
15+
[![NuGet Version](https://img.shields.io/nuget/vpre/minhsangdotcom.TheTemplate.ElasticsearchFluentConfig?style=flat&label=ElasticsearchFluentConfig&color=red)](https://www.nuget.org/packages/minhsangdotcom.TheTemplate.ElasticsearchFluentConfig/1.0.1-alpha)
816

917
# Table of Contents
1018

src/Api/packages.lock.json

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -874,14 +874,6 @@
874874
"Microsoft.EntityFrameworkCore.Relational": "8.0.17"
875875
}
876876
},
877-
"NetTopologySuite": {
878-
"type": "Transitive",
879-
"resolved": "2.5.0",
880-
"contentHash": "5/+2O2ADomEdUn09mlSigACdqvAf0m/pVPGtIPEPQWnyrVykYY0NlfXLIdkMgi41kvH9kNrPqYaFBTZtHYH7Xw==",
881-
"dependencies": {
882-
"System.Memory": "4.5.4"
883-
}
884-
},
885877
"Newtonsoft.Json": {
886878
"type": "Transitive",
887879
"resolved": "13.0.4-beta1",
@@ -908,11 +900,10 @@
908900
},
909901
"NRedisStack": {
910902
"type": "Transitive",
911-
"resolved": "1.0.0",
912-
"contentHash": "vCSwHNibWIgDic2sXAP23s7m7IMu3dlWdfv8LIufFfVGm+yyZ9MXCTFQaGw6zv4hE7k9RhJp64ObvLYx+2sQIQ==",
903+
"resolved": "1.1.0",
904+
"contentHash": "yXAaqhKT2hkapUBdpMEz7evNRwSGPP0KDd6E1GEIWPyLfnlTEHgEE8bsOD0I21ZHLvoMvKwbE4ibuOuVkOEE2Q==",
913905
"dependencies": {
914-
"NetTopologySuite": "2.5.0",
915-
"StackExchange.Redis": "2.8.24"
906+
"StackExchange.Redis": "2.8.58"
916907
}
917908
},
918909
"OpenTelemetry.Api": {
@@ -1026,10 +1017,10 @@
10261017
},
10271018
"StackExchange.Redis": {
10281019
"type": "Transitive",
1029-
"resolved": "2.8.24",
1030-
"contentHash": "GWllmsFAtLyhm4C47cOCipGxyEi1NQWTFUHXnJ8hiHOsK/bH3T5eLkWPVW+LRL6jDiB3g3izW3YEHgLuPoJSyA==",
1020+
"resolved": "2.8.58",
1021+
"contentHash": "0XGRE2UoF/n2/qhCpcyBBZovpGhHu4hRtkdsx4fZFu1H5Q/Z8Q+U/z/nWwnosWDRJnEasntNatd9Mf+Isc8plg==",
10311022
"dependencies": {
1032-
"Microsoft.Extensions.Logging.Abstractions": "6.0.0",
1023+
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
10331024
"Pipelines.Sockets.Unofficial": "2.2.8"
10341025
}
10351026
},
@@ -1181,8 +1172,6 @@
11811172
"Domain": "[1.0.0, )",
11821173
"FluentValidation.DependencyInjectionExtensions": "[12.0.0, )",
11831174
"Mediator.Abstractions": "[3.0.1, )",
1184-
"NRedisStack": "[1.0.0, )",
1185-
"RazorLight": "[2.3.1, )",
11861175
"Wangkanai.Detection": "[8.17.0, )",
11871176
"minhsangdotcom.TheTemplate.ElasticsearchFluentConfig": "[1.0.1-alpha, )"
11881177
}
@@ -1213,6 +1202,8 @@
12131202
"JWT": "[11.0.0, )",
12141203
"MailKit": "[4.12.1, )",
12151204
"Microsoft.AspNetCore.Authentication.JwtBearer": "[8.0.19, )",
1205+
"NRedisStack": "[1.1.0, )",
1206+
"RazorLight": "[2.3.1, )",
12161207
"TranMinhSang.DynamicQueryExtension.EntityFrameworkCore": "[0.1.1, )"
12171208
}
12181209
}

src/Application/Application.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
</PackageReference>
1515
<PackageReference Include="minhsangdotcom.TheTemplate.ElasticsearchFluentConfig" Version="1.0.1-alpha" />
1616
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="12.0.0" />
17-
<PackageReference Include="NRedisStack" Version="1.0.0" />
18-
<PackageReference Include="RazorLight" Version="2.3.1" />
1917
<PackageReference Include="Wangkanai.Detection" Version="8.17.0" />
2018

2119
<Using Include="BCrypt.Net.BCrypt" Static="True" />

src/Application/Common/Interfaces/Services/Cache/CacheOptions.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,6 @@ public enum CacheExpirationType
99

1010
public class CacheOptions
1111
{
12-
/// <summary>
13-
/// Which expiration strategy to use.
14-
/// Defaults to Absolute.
15-
/// </summary>
1612
public CacheExpirationType ExpirationType { get; set; } = CacheExpirationType.Absolute;
17-
18-
/// <summary>
19-
/// Time span to use for either absolute or sliding expiration.
20-
/// Ignored if ExpirationType == None.
21-
/// If null, you can fall back to a global default in your implementation.
22-
/// </summary>
2313
public TimeSpan? Expiration { get; set; }
24-
25-
// (Optional) You could add more fields here:
26-
// public DateTimeOffset? AbsoluteExpiration { get; set; }
27-
// public Action<string, object, EvictionReason, TimeSpan> PostEvictionCallback { get; set; }
2814
}
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
using StackExchange.Redis;
2-
31
namespace Application.Common.Interfaces.Services.Cache;
42

53
public interface IDistributedCacheService : ICacheService
64
{
7-
IDatabase Database { get; }
8-
95
Task RemoveAsync(string key);
106
}

0 commit comments

Comments
 (0)