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
<PackageReference Include="Franz.Common.Bootstrap" Version="3.0.0" />
<PackageVersion Include="Franz.Common.Bootstrap" Version="3.0.0" />
<PackageReference Include="Franz.Common.Bootstrap" />
paket add Franz.Common.Bootstrap --version 3.0.0
#r "nuget: Franz.Common.Bootstrap, 3.0.0"
#:package Franz.Common.Bootstrap@3.0.0
#addin nuget:?package=Franz.Common.Bootstrap&version=3.0.0
#tool nuget:?package=Franz.Common.Bootstrap&version=3.0.0
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:
- Calls
AddCallingAssembly(assembly)fromFranz.Common.Reflection. - Calls
AddFranzMediator(new[] { assembly })fromFranz.Common.Mediator.Extensions. - Calls
AddDependencies()fromFranz.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.
Recommended composition
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 | Versions 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. |
-
net10.0
- Franz.Common.Business (>= 3.0.0)
- Franz.Common.DependencyInjection (>= 3.0.0)
- Franz.Common.Hosting (>= 3.0.0)
- Franz.Common.Logging (>= 3.0.0)
- Franz.Common.Mediator (>= 3.0.0)
- Snappier (>= 1.3.1)
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 |