![]() |
VOOZH | about |
dotnet add package Codebelt.Bootstrapper.Web --version 5.1.1
NuGet\Install-Package Codebelt.Bootstrapper.Web -Version 5.1.1
<PackageReference Include="Codebelt.Bootstrapper.Web" Version="5.1.1" />
<PackageVersion Include="Codebelt.Bootstrapper.Web" Version="5.1.1" />Directory.Packages.props
<PackageReference Include="Codebelt.Bootstrapper.Web" />Project file
paket add Codebelt.Bootstrapper.Web --version 5.1.1
#r "nuget: Codebelt.Bootstrapper.Web, 5.1.1"
#:package Codebelt.Bootstrapper.Web@5.1.1
#addin nuget:?package=Codebelt.Bootstrapper.Web&version=5.1.1Install as a Cake Addin
#tool nuget:?package=Codebelt.Bootstrapper.Web&version=5.1.1Install as a Cake Tool
An open-source family of assemblies (MIT license) that provide a uniform and consistent way of bootstraping your code with Program.cs paired with Startup.cs.
Also, common for all, is the implementation of the IHostedService interface; this means that all project types, including the traditional console, now have option for graceful shutdown should your application require this (cronjob scenarios or similar).
Your versatile Bootstrapper companion for modern development with .NET 9 and .NET 10.
It is, by heart, free, flexible and built to extend and boost your agile codebelt.
An implementation optimized for web, webapi, webapp, razor, mvc applications.
An example on how to use Codebelt.Bootstrapper.Web in C#:
// --- Program.cs ---
public class Program : WebProgram<Startup>
{
static async Task Main(string[] args)
{
await CreateHostBuilder(args)
.Build()
.RunAsync()
.ConfigureAwait(false);
}
}
// --- Startup.cs ---
public class Startup : WebStartup
{
public Startup(IConfiguration configuration, IHostEnvironment environment) : base(configuration, environment)
{
}
public override void ConfigureServices(IServiceCollection services)
{
}
public override void ConfigurePipeline(IApplicationBuilder app)
{
if (Environment.IsLocalDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapGet("/", async context =>
{
await context.Response.WriteAsync("Hello World!");
});
});
}
}
And the minimal equivalent example on how to use Codebelt.Bootstrapper.Web in C#:
// --- Program.cs ---
public class Program : MinimalWebProgram
{
static Task Main(string[] args)
{
var builder = CreateHostBuilder(args);
var app = builder.Build();
if (app.Environment.IsLocalDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapGet("/", async context =>
{
await context.Response.WriteAsync("Hello World!");
});
});
return app.RunAsync();
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.1.1 | 110 | 6/7/2026 |
| 5.1.0 | 344 | 5/27/2026 |
| 5.0.7 | 199 | 4/18/2026 |
| 5.0.6 | 183 | 3/29/2026 |
| 5.0.5 | 314 | 3/1/2026 |
| 5.0.4 | 161 | 2/21/2026 |
| 5.0.3 | 201 | 2/15/2026 |
| 5.0.2 | 405 | 12/17/2025 |
| 5.0.1 | 272 | 12/7/2025 |
| 5.0.0 | 272 | 11/14/2025 |
| 4.0.5 | 399 | 9/15/2025 |
| 4.0.4 | 237 | 8/20/2025 |
| 4.0.3 | 238 | 7/11/2025 |
| 4.0.2 | 281 | 6/16/2025 |
| 4.0.1 | 288 | 5/25/2025 |
| 4.0.0 | 340 | 4/12/2025 |
| 3.0.1 | 227 | 1/31/2025 |
| 3.0.0 | 237 | 11/13/2024 |
| 3.0.0-rc.1 | 134 | 11/11/2024 |
| 3.0.0-preview.2 | 154 | 10/13/2024 |
Version: 5.1.1
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.1.0
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.0.7
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.0.6
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.0.5
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.0.4
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.0.3
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.0.2
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.0.1
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 5.0.0
Availability: .NET 10 and .NET 9
# ALM
- ADDED Support for TFM .NET 10 (LTS)
- REMOVED Support for TFM .NET 8 (LTS)
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 4.0.6
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 4.0.5
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 4.0.4
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 4.0.3
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 4.0.2
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 4.0.1
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
Version: 4.0.0
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
# Breaking Changes
- REMOVED WebApplicationBuilderExtensions class in the Codebelt.Bootstrapper.Web namespace (UseBootstrapperLifetime extension method)
Version: 3.0.1
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version: 3.0.0
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
- REMOVED Support for TFM .NET 6 (LTS)
# New Features
- ADDED MinimalWebProgram class in the Codebelt.Bootstrapper.Web namespace that is the entry point of an application optimized for web applications
- ADDED WebApplicationBuilderExtensions class in the Codebelt.Bootstrapper.Web namespace that consist of extension methods for the WebApplicationBuilder class: UseBootstrapperLifetime
Version: 2.0.0
Availability: .NET 6.0 and .NET 8.0
# ALM
- REMOVED TFM for net7.0
- CHANGED Dependencies to latest and greatest with respect to TFMs
# Breaking Changes
- CHANGED WebStartup class in the Codebelt.Bootstrapper.Web namespace to provide a new abstraction; ConfigurePipeline(IApplicationBuilder) and removed ILogger parameter from Configure method
Version: 1.3.0
Availability: .NET 6.0, .NET 7.0, .NET 8.0
# ALM
- CHANGED Dependencies to latest and greatest
Version: 1.2.0
Availability: .NET 6.0, .NET 7.0, .NET 8.0
# ALM
- ADDED TFM for net8.0
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version: 1.1.0
Availability: .NET 6.0, .NET 7.0
# ALM
- ADDED TFM for .NET 7
- CHANGED Dependencies to latest and greatest with respect to TFM
Version: 1.0.1
Availability: .NET 5.0, .NET 6.0
# ALM
- ADDED TFM for .NET 6
- CHANGED Dependencies to latest and greatest with respect to TFM
Version: 1.0.0
Availability: .NET 5.0
# New Features
- ADDED WebProgram class in the Codebelt.Bootstrapper.Web namespace that is the entry point of an application responsible for registering its WebStartup partner
- ADDED WebStartup class in the Codebelt.Bootstrapper.Web namespace that provides the base class of a conventional based Startup class for web applications