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.
The core types of this lightweight boostrapper framework optimized for console apps, providing a uniform and consistent implementation of:
-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).
An implementation optimized for console applications.
An implementation optimized for web, webapi, webapp, razor, mvc applications.
An implementation optimized for worker services.
Full documentation (generated by DocFx) located here: https://bootstrapper.codebelt.net/
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 | |||
| Codebelt.Bootstrapper.Web | |||
| Codebelt.Bootstrapper.Console | |||
| Codebelt.Bootstrapper.Worker |
Contributions are welcome and appreciated.
Feel free to submit issues, feature requests, or pull requests to help improve this library.
This project is licensed under the MIT License - see the LICENSE file for details.