Franz.Common.EntityFramework.SQLServer 2.3.1

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

Franz.Common.EntityFramework.SQLServer

Persistence and infrastructure integration for the Franz.Common framework on .NET 10.

Overview

The Franz.Common.EntityFramework.SQLServer package provides persistence and infrastructure integration within Franz.Common. It is designed to compose with the rest of the framework rather than imposing unrelated infrastructure choices on every application.

Installation

dotnet add package Franz.Common.EntityFramework.SQLServer

Design principles

  • Explicit composition: register only the capabilities the application needs.
  • Clear boundaries: keep domain and application contracts independent from provider-specific infrastructure where the package's role permits it.
  • Predictable behavior: make configuration, failure modes, and lifecycle ownership visible rather than relying on hidden conventions.
  • Operational readiness: validate security, resilience, diagnostics, and compatibility for the actual deployment environment.

Usage and configuration

Follow the package-specific setup, configuration, and code examples below. Only configure external services when this package requires them, and keep secrets outside source control.

Package-specific guide

A private utility library for seamless integration of Entity Framework Core with SQL Server, designed as part of the Franz Framework ecosystem. This package is versioned as 1.2.65 and is hosted exclusively on a private Azure NuGet feed.


Features

  • SQL Server Integration:
    • Simplifies configuration and usage of Microsoft.EntityFrameworkCore.SqlServer.
  • Dependency Injection:
    • Provides ServiceCollectionExtensions for easy registration of SQL Server services.
  • SSL Enforcement:
    • Includes the SslEnforcement enum to handle SQL Server SSL configuration.
  • Multi-Tenancy Support:
    • Integrates with Franz.Common.MultiTenancy to streamline tenant-based setups.
  • Part of Franz Framework:
    • Works seamlessly with other Franz libraries, including Franz.Common.EntityFramework and Franz.Common.MultiTenancy.

Version Information

Current Version: v2.3.0

  • This package and all related Franz packages are under active development and maintained privately.

Installation

Since this package is hosted on a private Azure NuGet feed, configure your NuGet client to access the feed before installing.

Step 1: Add the Private Azure Feed

Add the private feed to your NuGet configuration by running:

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

Step 2: Install the Package

Install the package via the .NET CLI:

dotnet add package Franz.Common.EntityFramework.SQLServer  

Usage

1. Configure SQL Server for Entity Framework Core

Use the provided ServiceCollectionExtensions to streamline the setup:

using Franz.Common.EntityFramework.SQLServer;

public void ConfigureServices(IServiceCollection services)
{
    services.AddSqlServerDatabase("YourConnectionString");
}

2. Enable Multi-Tenancy

Easily configure multi-tenancy when using Franz.Common.MultiTenancy:

services.AddTenantSupport();

3. Enforce SSL Settings

Use the SslEnforcement enum to configure SSL options for SQL Server connections:

using Franz.Common.EntityFramework.SQLServer.Enums;

SslEnforcement sslOption = SslEnforcement.Required;

Dependencies

This package is built to work with the following Franz Framework packages (all versioned 1.3.3):

  • Franz.Common.EntityFramework
  • Franz.Common.MultiTenancy

Make sure to install them from your private Azure feed as needed.


Development Note

This library is part of the Franz Framework, a privately developed and maintained suite of libraries. It is currently not available on NuGet.org but is hosted on a private Azure feed for internal use and development purposes.


Contributing

Contributions are restricted to the internal development team. If you have access to the private repository, follow these steps:

  1. Clone the repository. @ https://github.com/bestacio89/Franz.Common/
  2. Create a feature branch for your updates.
  3. Submit a pull request for review.

License

This library is part of a private framework and subject to internal licensing terms. Contact the author for more details.


Changelog

Version 1.2.65

  • Upgrade version to .net 9

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

v2.0.1 – Internal Modernization

  • Messaging and infrastructure refactored for async, thread-safety, and modern .NET 10 patterns.
  • All APIs remain fully backward compatible.
  • Tests, listeners, and pipeline components modernized.

Dependency maintenance — October 2026

The SQL Server provider is aligned with the .NET 10 EF Core servicing baseline. The dependency audit also checks transitive cryptography packages; vulnerable older versions must not remain in the resolved graph. Run SQL Server integration tests before release. See the repository dependency upgrade record.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (2)

Showing the top 2 NuGet packages that depend on Franz.Common.EntityFramework.SQLServer:

Package Downloads
Franz.Common.Messaging.EntityFramework

Shared utility library for the Franz Framework.

Franz.Common.Http.EntityFramework

Shared utility library for the Franz Framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.3.1 111 10/26/2026
2.3.0 188 7/21/2026
2.2.19 149 7/19/2026
2.2.18 149 7/19/2026
2.2.17 260 7/12/2026
2.2.16 159 7/2/2026
2.2.15 159 6/29/2026
2.2.14 153 6/29/2026
2.2.13 156 6/29/2026
2.2.12 145 6/28/2026
2.2.11 147 6/28/2026
2.2.10 150 6/28/2026
2.2.9 155 6/28/2026
2.2.8 151 6/28/2026
2.2.7 152 6/7/2026
2.2.6 161 6/6/2026
2.2.5 163 6/4/2026
2.2.4 162 6/3/2026
2.2.3 154 6/2/2026
2.2.2 159 6/2/2026
Loading failed