APF.Core.Clean.Common
10.0.0.2
dotnet add package APF.Core.Clean.Common --version 10.0.0.2
NuGet\Install-Package APF.Core.Clean.Common -Version 10.0.0.2
<PackageReference Include="APF.Core.Clean.Common" Version="10.0.0.2" />
<PackageVersion Include="APF.Core.Clean.Common" Version="10.0.0.2" />
<PackageReference Include="APF.Core.Clean.Common" />
paket add APF.Core.Clean.Common --version 10.0.0.2
#r "nuget: APF.Core.Clean.Common, 10.0.0.2"
#:package APF.Core.Clean.Common@10.0.0.2
#addin nuget:?package=APF.Core.Clean.Common&version=10.0.0.2
#tool nuget:?package=APF.Core.Clean.Common&version=10.0.0.2
Core.Clean.Common
Core.Clean.Common is a cross-cutting, feature-level package that provides shared abstractions, models, enums, exceptions, and helper utilities. It serves as a foundational package that can be used across any layer of multiple microservices and infrastructure level packages.
Projects
src/Core.Clean.Common
- Core.Clean.Common
tests/Core.Clean.Common.Tests
- Core.Clean.Common.Tests
Purpose
- Centralizes reusable abstractions and models to avoid duplication across microservices.
- Provides cross-cutting functionality such as Result patterns, Mediatr interfaces, and extension helpers.
- Acts as the foundation for other packages, including infrastructure integrations (AWS, EFCore, Database, etc.) and microservice layers.
- Provides base repository contracts to support the **CQRS (Command Query Responsibility Segregation)**pattern
Features
- Abstractions: Interfaces for Data, Messaging,Services, etc.
- Behaviors: Pipeline for validation.
- Models: Shared DTOs and domain-agnostic models.
- Enums & Constants: Common enumerations and validation messages.
- Extensions: Helper extensions for Dapper, collections, timezones, and dependency injection.
- Result Pattern & Mediatr Helpers: Standardized patterns for handling results and messaging.
- Exceptions: Base and custom exception types.
- Helpers: Utility/helper classes that can be reused across microservices and infrastructure packages.
- Integrations: Abstractions and its dependent members for other feature/infrastructure level packages like APF.Core.Clean.AWS, APF.Core.Clean.Dormancy, etc.
- Security: Utitlity for salted hashing.
Getting Started
- Clone the repo
- Navigate to the root directory
- Run:
dotnet build
dotnet test
Register AWS dependencies in a microservice (Infrastructure layer)
builder.Services.AddCoreCleanCommon(builder.Configuration);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FluentValidation (>= 12.1.1)
- Hashids.net (>= 1.7.0)
- MediatR (>= 14.1.0)
- Microsoft.Extensions.Http.Polly (>= 10.0.9)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.19.1)
- Polly (>= 8.7.0)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on APF.Core.Clean.Common:
| Package | Downloads |
|---|---|
|
APF.Core.Clean.Aws
Package Description |
|
|
APF.Core.Clean.Api
Package Description |
|
|
APF.Core.Clean.Database
Package Description |
|
|
APF.Core.Clean.Dormancy
Package Description |
|
|
APF.Core.Clean.EfCore
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0.2 | 147 | 8/24/2026 |
| 10.0.0.2-Beta-03 | 277 | 8/20/2026 |
| 10.0.0.2-Beta-02 | 124 | 8/18/2026 |
| 10.0.0.2-Beta-01 | 176 | 8/17/2026 |
| 10.0.0.1 | 411 | 8/14/2026 |
| 10.0.0.1-Beta-01 | 75 | 8/17/2026 |
| 10.0.0-Beta-05 | 263 | 8/13/2026 |
| 10.0.0-Beta-04 | 952 | 7/28/2026 |
| 10.0.0-Beta-03 | 223 | 7/24/2026 |
| 10.0.0-Beta-02 | 729 | 7/7/2026 |
| 8.0.0.25 | 122 | 8/20/2026 |
| 8.0.0.25-Beta-02 | 100 | 8/20/2026 |
| 8.0.0.25-Beta-01 | 106 | 8/17/2026 |
| 8.0.0.24 | 162 | 7/30/2026 |
| 8.0.0.24-Beta-03 | 154 | 7/24/2026 |
| 8.0.0.24-Beta-02 | 109 | 7/24/2026 |
| 8.0.0.24-Beta-01 | 202 | 7/23/2026 |
| 8.0.0.23 | 316 | 7/7/2026 |
| 8.0.0.23-Beta-01 | 435 | 7/6/2026 |
| 8.0.0.22 | 281 | 6/29/2026 |
# Changelog
## 10.0.0.2 - 2026-08-24
- .net10 migration including github actions
## 8.0.0.25 - 2026-08-20
- Added shared cache serialization, validation, expiration handling, and structured operation logging.