This repository contains examples and experiments around hosting applications with .NET.
Most of the content focuses on the Generic Host and the infrastructure commonly used in .NET applications, such as dependency injection, configuration, logging, application lifetime management, and command-line argument handling.
The repository primarily serves as a personal knowledge base and a place to explore ideas through small, focused examples.
The examples reflect my current understanding of each topic and may evolve over time.
Topics currently covered include:
- Generic Host
- Dependency Injection
- Configuration
- Logging
- Application Lifetime
- Command-Line Arguments
Additional topics may be added as the repository evolves.
I recommend using Dev Containers when working with this repository.
The development container provides the tools and dependencies needed to build and run the examples, making it easy to get started without modifying your local environment.
For container details, see .devcontainer/devcontainer.json.
After the container is created, run .devcontainer/postCreateCommand.sh
and follow the instructions shown in the terminal.