APF.Core.Clean.Database 8.0.0.13-Beta-1

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

Core.Clean.Database

Core.Clean.Database is an infrastructure-level package that provides MySQL-specific configurations, helpers, and service implementations. It centralizes database connection handling, extensions, and feature-level services that interact directly with the database. This package depends on Core.Clean.Common for its abstractions and shared contracts.

Projects

src/Aurionpro.PaymentFramework.Core.Clean.Database

  • Aurionpro.PaymentFramework.Core.Clean.Database

tests/Aurionpro.PaymentFramework.Core.Clean.Database.Tests

  • Aurionpro.PaymentFramework.Core.Clean.Database.Tests

Purpose

  • Centralizes all MySQL-specific boilerplate code such as connection factories and settings.
  • Provides extension helpers to simplify database access and data retrieval.
  • Implements data access services (e.g., API key validation, feature access, system info) defined as abstractions in Core.Clean.Common.
  • Enables clean separation between abstractions (in Common) and implementations (in Database) for improved maintainability.
  • Supports infrastructure setup for microservices using MySQL as their persistence layer.

Features

  • Database Settings: Provides DatabaseSettings and connection string builders for MySQL configuration.
  • Connection Factory: Includes IDbConnectionFactory and MySqlConnectionFactory for creating and managing database connections.
  • Extensions:MySqlDataReaderExtensions for safer field retrieval and null-handling.
  • Service Implementations:Implements abstractions like IApiCredentialValidatorService, IAccessRightsService, and ISystemInfoHelper.Provides data access logic for microservice-level authentication and feature control.
  • Structured Organization: Common folder contains boilerplate code and reusable components. Implementations folder contains implementations of feature-level services.

Getting Started

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

register database dependencies in a microservice

using Aurionpro.PaymentFramework.Core.Clean.Database.Common.Extensions;
using Aurionpro.PaymentFramework.Core.Clean.Database.Implementations.Extensions;

var builder = WebApplication.CreateBuilder(args);

// 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 (3)

Showing the top 3 NuGet packages that depend on APF.Core.Clean.Database:

Package Downloads
APF.Core.OpenApi

This library generates swagger.

APF.Core.Clean.ApiGateway

Package Description

APF.Core.Clean.IssueLogger

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0.5 135 11/4/2026
10.0.0.4 575 10/29/2026
10.0.0.4-Beta-03 398 10/29/2026
10.0.0.4-Beta-02 252 10/23/2026
10.0.0.4-Beta-01 154 10/14/2026
10.0.0.3 180 10/5/2026
10.0.0.3-Beta-01 127 10/5/2026
10.0.0.2 2,332 8/25/2026
10.0.0.2-Beta-01 873 8/17/2026
10.0.0.1 155 8/14/2026
10.0.0-Beta-03 697 8/3/2026
10.0.0-Beta-02 352 7/7/2026
10.0.0-Beta-01 376 6/24/2026
8.0.0.14 404 7/30/2026
8.0.0.14-Beta-03 160 7/27/2026
8.0.0.14-Beta-02 155 7/24/2026
8.0.0.14-Beta-01 116 7/23/2026
8.0.0.13 255 7/7/2026
8.0.0.13-Beta-1 318 7/6/2026
8.0.0.12 872 6/9/2026
Loading failed

# Changelog

## 8.0.0.13-Beta-1 - 2026-07-06

- Remove Obsolete IsqlExecutor