https://github.com/codebeltnet/bootstrapper
A modern and consistent bootstrapper framework for console applications based on >= .NET 9.
https://github.com/codebeltnet/bootstrapper
bootstrapper bootstrapping console dotnet mvc web webapi webapp worker
Last synced: 2 months ago
JSON representation
A modern and consistent bootstrapper framework for console applications based on >= .NET 9.
- Host: GitHub
- URL: https://github.com/codebeltnet/bootstrapper
- Owner: codebeltnet
- License: mit
- Created: 2021-05-06T22:41:51.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2026-03-29T23:02:19.000Z (3 months ago)
- Last Synced: 2026-03-30T00:08:11.415Z (3 months ago)
- Topics: bootstrapper, bootstrapping, console, dotnet, mvc, web, webapi, webapp, worker
- Language: C#
- Homepage:
- Size: 1.64 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README

# Bootstrapper API by Codebelt
[](https://github.com/codebeltnet/bootstrapper/actions/workflows/ci-pipeline.yml) [](https://sonarcloud.io/dashboard?id=bootstrapper) [](https://sonarcloud.io/dashboard?id=bootstrapper) [](https://sonarcloud.io/dashboard?id=bootstrapper) [](https://sonarcloud.io/dashboard?id=bootstrapper) [](https://scorecard.dev/viewer/?uri=github.com/codebeltnet/bootstrapper)
## âšī¸ About
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 -OR- using the new `Minimal` equivalent for all project types.
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.
> [!NOTE]
> To ensure access to current features, improvements, and security updates, and to keep the codebase clean and easy to maintain, we target only the latest long-term (LTS), short-term (STS) and (where applicable) cross-platform .NET versions.
### Codebelt.Bootstrapper
The core types of this lightweight boostrapper framework optimized for console apps, providing a uniform and consistent implementation of:
+ [console](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new#console)-
+ [worker](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new#web-others)-
+ [web](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new#web)-
+ [mvc](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new#web-options)-
+ [webapp](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new#web-options)-
+ [webapi](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new#webapi)-
-project types.
Common for all project types is that they have both `Program.cs` paired with `Startup.cs`. Also, all are implemented using `IHostedService`; this means that for a traditional `console` you have option for graceful shutdown should you require this (cronjob scenarios or similar).
### Codebelt.Bootstrapper.Console
An implementation optimized for `console` applications.
### Codebelt.Bootstrapper.Web
An implementation optimized for `web`, `webapi`, `webapp`, `razor`, `mvc` applications.
### Codebelt.Bootstrapper.Worker
An implementation optimized for `worker` services.
## đ Documentation
Full documentation (generated by [DocFx](https://github.com/dotnet/docfx)) located here: https://bootstrapper.codebelt.net/
## đĻ Standalone Packages
Provides a focused API for bootstraping your code with Program.cs paired with Startup.cs -OR- using the new `Minimal` equivalent for all project types.
|Package|vNext|Stable|Downloads|
|:--|:-:|:-:|:-:|
| [Codebelt.Bootstrapper](https://www.nuget.org/packages/Codebelt.Bootstrapper/) |  |  |  |
| [Codebelt.Bootstrapper.Web](https://www.nuget.org/packages/Codebelt.Bootstrapper.Web/) |  |  |  |
| [Codebelt.Bootstrapper.Console](https://www.nuget.org/packages/Codebelt.Bootstrapper.Console/) |  |  |  |
| [Codebelt.Bootstrapper.Worker](https://www.nuget.org/packages/Codebelt.Bootstrapper.Worker/) |  |  |  |
### Contributing to `Bootstrapper API by Codebelt`
[Contributions](.github/CONTRIBUTING.md) are welcome and appreciated.
Feel free to submit issues, feature requests, or pull requests to help improve this library.
### License
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.