APF.Core.Clean.Common
8.0.0-Beta-2
See the version list below for details.
dotnet add package APF.Core.Clean.Common --version 8.0.0-Beta-2
NuGet\Install-Package APF.Core.Clean.Common -Version 8.0.0-Beta-2
<PackageReference Include="APF.Core.Clean.Common" Version="8.0.0-Beta-2" />
<PackageVersion Include="APF.Core.Clean.Common" Version="8.0.0-Beta-2" />
<PackageReference Include="APF.Core.Clean.Common" />
paket add APF.Core.Clean.Common --version 8.0.0-Beta-2
#r "nuget: APF.Core.Clean.Common, 8.0.0-Beta-2"
#:package APF.Core.Clean.Common@8.0.0-Beta-2
#addin nuget:?package=APF.Core.Clean.Common&version=8.0.0-Beta-2&prerelease
#tool nuget:?package=APF.Core.Clean.Common&version=8.0.0-Beta-2&prerelease
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. |
-
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 |
# Changelog
## 8.0.0-Beta-2 - 2026-02-18
- Added following Enums "OnboardingType" , "PayoutTimeType" , "UserAction"
- Added Folder "Errors", Added new class SystemInfoError for systemInfo related.
- Moved AccessRightAttribute & LogMethodExecutionAttribute from Core.Clean.Api to Core.Clean.Common
- Added IMerchantDetailService in Integrations->Database->Abstractions
- Added the following models MerchantCommunication, MerchantDetails, MerchantSettingsCommunication & MerchantSettingsDetails
- Added ExpressionBuilder
- Added PaginationRequest & PaginationResponse
- Updated ApiIdentity TimeZone property name "TimeZone" => "TimeZoneInfo"
- Enhanced IQueryableRepository abstraction to support dynamic and paginated queries.
- Added following Aws Messages "BaseMerchantMessage" , "MerchantActivatedMessage" , "MerchantCreatedMessage" , "MerchantDeactivatedMessage" , "MerchantDeletedMessage" , "MerchantModifiedMessage" & "TimeZoneModifiedMessage"
- Added following Aws Events "MerchantActivated" , "MerchantCreated" , "MerchantDeactivated" , "MerchantDeleted" , "MerchantModified" , "TimeZoneModified"
- Enhanced StringExtensions to support dynamic filtering and query parsing.
- Added SystemInfoError