Franz.Common.Bootstrap 3.0.0

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

Franz.Common.Bootstrap

A composition extension that registers the common Franz application architecture for a selected set of assemblies.

Overview

A composition extension that registers the common Franz application architecture for a selected set of assemblies.

Installation

dotnet add package Franz.Common.Bootstrap

Composition entry point

The current public entry point is AddCommonArchitecture, defined in Franz.Common.Bootstrap.Extensions. It accepts application configuration and an optional set of assemblies.

using Franz.Common.Bootstrap.Extensions;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddCommonArchitecture(
    builder.Configuration,
    typeof(Program).Assembly);

If no assembly is supplied, the extension falls back to the calling assembly. Prefer explicit assemblies for deterministic composition and to avoid depending on where the extension is invoked.

What it registers

For each supplied assembly, the extension:

  1. Calls AddCallingAssembly(assembly) from Franz.Common.Reflection.
  2. Calls AddFranzMediator(new[] { assembly }) from Franz.Common.Mediator.Extensions.
  3. Calls AddDependencies() from Franz.Common.DependencyInjection.Extensions.

The dependency scanner therefore applies the marker-based conventions of the dependency-injection package. Mediator handler and pipeline registration is delegated to the mediator package.

What it does not register

The implementation does not currently call AutoMapper registration, logging registration, hosting initialization registration, persistence registration, messaging transport registration, or HTTP middleware registration. Add those capabilities explicitly through their owning packages.

The IConfiguration parameter is part of the current method signature, but the implementation does not currently read values from it. Do not assume that configuration sections are bound by this call.

Keep the composition root explicit. Use this helper for the common reflection, mediator, and marker-based dependency registration, then add provider-specific infrastructure and host lifecycle services separately.

API

IServiceCollection AddCommonArchitecture(
    this IServiceCollection services,
    IConfiguration configuration,
    params Assembly[] assemblies);

Namespace: Franz.Common.Bootstrap.Extensions.

License

MIT. See LICENSE.

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.Bootstrap:

Package Downloads
Franz.Common.Http.Bootstrap

Shared utility library for the Franz Framework.

Franz.Common.Messaging.Bootstrap

Shared utility library for the Franz Framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 0 11/10/2026
2.3.4 361 11/1/2026
2.3.3 324 10/28/2026
2.3.2 124 10/27/2026
2.3.1 179 10/26/2026
2.3.0 256 7/21/2026
2.2.19 160 7/19/2026
2.2.18 144 7/19/2026
2.2.17 158 7/12/2026
2.2.16 159 7/2/2026
2.2.15 152 6/29/2026
2.2.14 155 6/29/2026
2.2.13 161 6/29/2026
2.2.12 155 6/28/2026
2.2.11 157 6/28/2026
2.2.10 153 6/28/2026
2.2.9 156 6/28/2026
2.2.8 153 6/28/2026
2.2.7 150 6/7/2026
2.2.6 163 6/6/2026
Loading failed