APF.Core.Clean.Common
8.0.0-Beta-1
This is a prerelease version of APF.Core.Clean.Common.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package APF.Core.Clean.Common --version 8.0.0-Beta-1
NuGet\Install-Package APF.Core.Clean.Common -Version 8.0.0-Beta-1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="APF.Core.Clean.Common" Version="8.0.0-Beta-1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="APF.Core.Clean.Common" Version="8.0.0-Beta-1" />
<PackageReference Include="APF.Core.Clean.Common" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add APF.Core.Clean.Common --version 8.0.0-Beta-1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: APF.Core.Clean.Common, 8.0.0-Beta-1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package APF.Core.Clean.Common@8.0.0-Beta-1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=APF.Core.Clean.Common&version=8.0.0-Beta-1&prerelease
#tool nuget:?package=APF.Core.Clean.Common&version=8.0.0-Beta-1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- FluentValidation (>= 11.11.0)
- Hashids.net (>= 1.7.0)
- MediatR (>= 12.4.1)
- Microsoft.Extensions.Configuration (>= 9.0.8)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.8)
- Microsoft.Extensions.Http (>= 9.0.8)
- Microsoft.Extensions.Options (>= 9.0.8)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.14.0)
- Polly (>= 8.4.2)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on APF.Core.Clean.Common:
| Package | Downloads |
|---|---|
|
APF.Core.Clean.Api
Package Description |
|
|
APF.Core.Clean.Aws
Package Description |
|
|
APF.Core.Clean.Database
Package Description |
|
|
APF.Core.Clean.Transaction
Package Description |
|
|
APF.Core.Clean.Dormancy
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0.2 | 252 | 2/24/2026 |
| 8.0.0.2-Beta-2 | 340 | 2/23/2026 |
| 8.0.0.2-Beta-1 | 72 | 2/22/2026 |
| 8.0.0.1 | 357 | 2/13/2026 |
| 8.0.0-Beta-3 | 318 | 2/19/2026 |
| 8.0.0-Beta-2 | 102 | 2/19/2026 |
| 8.0.0-Beta-1 | 418 | 2/12/2026 |
| 1.0.0-Beta-45 | 108 | 2/2/2026 |
| 1.0.0-Beta-44 | 80 | 1/29/2026 |
| 1.0.0-Beta-43 | 188 | 1/23/2026 |
| 1.0.0-Beta-42 | 110 | 1/12/2026 |
| 1.0.0-Beta-41 | 282 | 12/24/2025 |
| 1.0.0-Beta-40 | 164 | 12/24/2025 |
| 1.0.0-Beta-39 | 233 | 12/23/2025 |
| 1.0.0-Beta-38 | 271 | 12/19/2025 |
| 1.0.0-Beta-37 | 273 | 12/17/2025 |
| 1.0.0-Beta-36 | 496 | 12/10/2025 |
| 1.0.0-Beta-35 | 1,086 | 12/3/2025 |
| 1.0.0-Beta-34 | 225 | 11/27/2025 |
| 1.0.0-Beta-33 | 197 | 11/27/2025 |
Loading failed
# Changelog
## 8.0.0-Beta-1 - 2026-02-12
- Beta version created to create stable release.