APF.Core.Clean.Transaction 1.0.0-Beta-10

This is a prerelease version of APF.Core.Clean.Transaction.
There is a newer version of this package available.
See the version list below for details.
dotnet add package APF.Core.Clean.Transaction --version 1.0.0-Beta-10
                    
NuGet\Install-Package APF.Core.Clean.Transaction -Version 1.0.0-Beta-10
                    
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.Transaction" Version="1.0.0-Beta-10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="APF.Core.Clean.Transaction" Version="1.0.0-Beta-10" />
                    
Directory.Packages.props
<PackageReference Include="APF.Core.Clean.Transaction" />
                    
Project file
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.Transaction --version 1.0.0-Beta-10
                    
#r "nuget: APF.Core.Clean.Transaction, 1.0.0-Beta-10"
                    
#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.Transaction@1.0.0-Beta-10
                    
#: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.Transaction&version=1.0.0-Beta-10&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=APF.Core.Clean.Transaction&version=1.0.0-Beta-10&prerelease
                    
Install as a Cake Tool

Core.Clean.Transaction

Core.Clean.Transaction is a module-level package designed for microservices within the Transaction domain, such as the Transaction Service and Adapters Service. It encapsulates all shared models, abstractions, services, repositories, and events related to transactions, following the Clean Architecture principles. This package relies on abstractions like ISqlExecutor (from Core.Clean.Common) to perform data access indirectly via the Database package.

Projects

src/Core.Clean.Transaction

  • Core.Clean.Transaction

tests/Core.Clean.Transaction.Tests

  • Core.Clean.Transaction.Tests

Purpose

  • Provides shared transaction-related logic (repositories, services, events, models) used by multiple microservices.
  • Enables reusability and consistent implementation of transaction-related behaviors across systems.
  • Relies on Core.Clean.Common abstractions for clean separation and Core.Clean.Database for indirect data access.

Features

  • Repositories: Abstractions and implementations for transaction-related queries and commands using ISqlExecutor.
  • Services: Common business logic and helpers for transaction workflows.
  • Models: Shared entities, DTOs, and event payloads for transaction operations.
  • Enums: Strongly typed enumerations for transaction statuses, operations, and types.
  • Events: Transaction domain events for inter-service communication.

Getting Started

  1. Clone the repo
  2. Navigate to the root directory
  3. Run:
dotnet build
dotnet test

register Transaction dependencies in a microservice


var builder = WebApplication.CreateBuilder(args);

// Register common Transaction dependencies
builder.Services.AddCoreCleanTransaction(builder.Configuration);

Indirect dependency to be registered from microservice

// Register common database dependencies
builder.Services.AddDatabaseSettings(builder.Configuration);

// Register Implementations-specific services
builder.Services.AddCoreCleanDatabase(builder.Configuration);

Product 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0.1 112 2/13/2026
8.0.0-Beta-1 109 2/12/2026
1.0.0-Beta-17 82 1/28/2026
1.0.0-Beta-16 294 12/24/2025
1.0.0-Beta-15 172 12/24/2025
1.0.0-Beta-14 163 12/24/2025
1.0.0-Beta-13 176 12/24/2025
1.0.0-Beta-12 232 12/19/2025
1.0.0-Beta-11 282 12/16/2025
1.0.0-Beta-10 488 12/9/2025
1.0.0-Beta-09 221 12/4/2025
1.0.0-Beta-08 351 11/17/2025
1.0.0-Beta-07 263 11/6/2025
1.0.0-Beta-06 219 10/17/2025
1.0.0-Beta-05 251 10/9/2025
1.0.0-Beta-04 336 9/19/2025
1.0.0-Beta-03 326 9/16/2025
1.0.0-Beta-02 279 7/30/2025
1.0.0-Beta-01 168 7/29/2025

# Changelog

## 1.0.0-Beta-10 - 2025-12-09

- Revert Shadowing property for Message in Transaction Base event for all the events.
- Add PartnerSellRate properties in TransactionEventPayload