APF.Core.Clean.Common
1.0.0-Beta-34
This is a prerelease version of APF.Core.Clean.Common.
dotnet add package APF.Core.Clean.Common --version 1.0.0-Beta-34
NuGet\Install-Package APF.Core.Clean.Common -Version 1.0.0-Beta-34
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="1.0.0-Beta-34" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="APF.Core.Clean.Common" Version="1.0.0-Beta-34" />
<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 1.0.0-Beta-34
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: APF.Core.Clean.Common, 1.0.0-Beta-34"
#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@1.0.0-Beta-34
#: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=1.0.0-Beta-34&prerelease
#tool nuget:?package=APF.Core.Clean.Common&version=1.0.0-Beta-34&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 (7)
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.Dormancy
Package Description |
|
|
APF.Core.Clean.Transaction
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-Beta-34 | 106 | 11/27/2025 |
| 1.0.0-Beta-33 | 107 | 11/27/2025 |
| 1.0.0-Beta-32 | 361 | 11/19/2025 |
| 1.0.0-Beta-31 | 255 | 11/17/2025 |
| 1.0.0-Beta-30 | 481 | 11/11/2025 |
| 1.0.0-Beta-29 | 147 | 11/6/2025 |
| 1.0.0-Beta-28 | 128 | 11/4/2025 |
| 1.0.0-Beta-27 | 135 | 10/30/2025 |
| 1.0.0-Beta-26 | 190 | 10/30/2025 |
| 1.0.0-Beta-25 | 151 | 10/29/2025 |
| 1.0.0-Beta-24 | 192 | 10/13/2025 |
| 1.0.0-Beta-23 | 229 | 10/11/2025 |
| 1.0.0-Beta-22 | 325 | 10/9/2025 |
| 1.0.0-Beta-21 | 128 | 10/9/2025 |
| 1.0.0-Beta-20 | 128 | 10/8/2025 |
| 1.0.0-Beta-19 | 135 | 10/8/2025 |
| 1.0.0-Beta-18 | 119 | 10/8/2025 |
| 1.0.0-Beta-17 | 97 | 10/4/2025 |
| 1.0.0-Beta-16 | 126 | 10/3/2025 |
| 1.0.0-Beta-15 | 452 | 10/2/2025 |
| 1.0.0-Beta-14 | 126 | 10/2/2025 |
| 1.0.0-Beta-13 | 133 | 10/1/2025 |
| 1.0.0-Beta-12 | 140 | 9/29/2025 |
| 1.0.0-Beta-11 | 355 | 9/23/2025 |
| 1.0.0-Beta-10 | 646 | 9/22/2025 |
| 1.0.0-Beta-09 | 495 | 9/16/2025 |
| 1.0.0-Beta-08 | 254 | 9/16/2025 |
| 1.0.0-Beta-07 | 443 | 9/16/2025 |
| 1.0.0-Beta-06 | 352 | 9/3/2025 |
| 1.0.0-Beta-05 | 400 | 8/13/2025 |
| 1.0.0-Beta-04 | 416 | 8/11/2025 |
| 1.0.0-Beta-03 | 186 | 8/8/2025 |
| 1.0.0-Beta-02 | 889 | 7/30/2025 |
| 1.0.0-Beta-01 | 102 | 7/29/2025 |
# Changelog
## 1.0.0-Beta-34 - 2025-11-27
- Added Datetime extension class