Franz.Common.Http.EntityFramework 1.3.14

dotnet add package Franz.Common.Http.EntityFramework --version 1.3.14
                    
NuGet\Install-Package Franz.Common.Http.EntityFramework -Version 1.3.14
                    
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="Franz.Common.Http.EntityFramework" Version="1.3.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Franz.Common.Http.EntityFramework" Version="1.3.14" />
                    
Directory.Packages.props
<PackageReference Include="Franz.Common.Http.EntityFramework" />
                    
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 Franz.Common.Http.EntityFramework --version 1.3.14
                    
#r "nuget: Franz.Common.Http.EntityFramework, 1.3.14"
                    
#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 Franz.Common.Http.EntityFramework@1.3.14
                    
#: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=Franz.Common.Http.EntityFramework&version=1.3.14
                    
Install as a Cake Addin
#tool nuget:?package=Franz.Common.Http.EntityFramework&version=1.3.14
                    
Install as a Cake Tool

🔥 Nice — you’ve got a clean README already, but now that 1.3.4 introduces multi-provider support, the changelog and features need a little update.

Here’s how I’d rewrite it for v1.3.4:


Franz.Common.Http.EntityFramework

A specialized library within the Franz Framework that integrates Entity Framework Core with ASP.NET Core applications. This package simplifies transactional handling, dependency injection, and middleware configurations, enhancing database operations in HTTP-based services.


Features

  • Transactional Filters:

    • TransactionFilter for managing database transactions seamlessly in API requests.
  • Service Registration:

    • ServiceCollectionExtensions for registering database contexts and transactional filters.
  • Entity Framework Core Integration:

    • Built-in support for relational database operations.
  • Multi-Database Provider Support (new in 1.3.4):

    • Easily configure MariaDB, Postgres, Oracle, or SQL Server via appsettings.json.
  • Modular Design:

    • Compatible with other Franz Framework Entity Framework components, such as Franz.Common.EntityFramework.MariaDB, Franz.Common.EntityFramework.Postgres, etc.

Version Information

  • Current Version: 1.3.13
  • Part of the private Franz Framework ecosystem.

Dependencies

This package relies on:

  • Microsoft.EntityFrameworkCore (8.0.0)
  • Microsoft.EntityFrameworkCore.Relational (8.0.0)
  • Microsoft.AspNetCore.Mvc (2.2.0)
  • Franz.Common.DependencyInjection
  • Franz.Common.EntityFramework.MariaDB
  • Franz.Common.EntityFramework.Postgres
  • Franz.Common.EntityFramework.Oracle
  • Franz.Common.EntityFramework.SQLServer

Installation

From Private Azure Feed

dotnet nuget add source "https://your-private-feed-url" \
  --name "AzurePrivateFeed" \
  --username "YourAzureUsername" \
  --password "YourAzurePassword" \
  --store-password-in-clear-text

Install the package:

dotnet add package Franz.Common.Http.EntityFramework

Usage

1. Configure Provider in appsettings.json

{
  "Database": {
    "Provider": "Postgres",
    "ConnectionString": "Host=localhost;Database=mydb;Username=myuser;Password=mypass"
  }
}

Supported providers: MariaDb, Postgres, Oracle, SqlServer.


2. Register Database Context

builder.Services.AddDatabase<MyDbContext>(builder.Environment, builder.Configuration);

3. Enable Transaction Filters

Automatically applied by default, but can be explicitly added:

using Franz.Common.Http.EntityFramework.Transactions;

services.AddControllers(options =>
{
    options.Filters.Add<TransactionFilter>();
});

Integration with Franz Framework

The Franz.Common.Http.EntityFramework package integrates seamlessly with:

  • Franz.Common.EntityFramework
  • Franz.Common.EntityFramework.MariaDB
  • Franz.Common.EntityFramework.Postgres
  • Franz.Common.EntityFramework.Oracle
  • Franz.Common.EntityFramework.SQLServer
  • Franz.Common.DependencyInjection

Changelog

Version 1.3.4

  • Added multi-database provider support (MariaDB, Postgres, Oracle, SQL Server).
  • Provider selection now handled via appsettings.json (Database:Provider).
  • Simplified registration: AddDatabase<TDbContext>(env, config).

Version 1.3

  • Upgraded to .NET 9.0.8
  • Added new features and improvements
  • Separated business concepts from mediator concepts
  • Now compatible with both the in-house mediator and MediatR

Version 1.2.65

  • Upgrade version to .net 9

⚡ This way your README reflects the new multi-db capability front and center.

Do you want me to also draft a configuration schema section (like a JSON schema snippet or table) that documents all possible keys for Database (Provider, ConnectionString, maybe future options like Schema, PoolSize, MigrationsAssembly)?

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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
1.3.14 66 9/18/2025
1.3.13 68 9/18/2025
1.3.5 77 9/17/2025
1.3.4 92 9/16/2025
1.3.3 91 9/16/2025
1.3.2 97 9/15/2025
1.3.1 67 9/12/2025
1.3.0 277 8/25/2025
1.2.65 166 3/3/2025
1.2.64 115 1/29/2025
1.2.63 108 1/27/2025
1.2.62 108 1/8/2025