Skip to content

suzu-devworks/examples-dotnet-hosting

Repository files navigation

examples-dotnet-hosting

Dynamic XML Badge .github/workflows/dotnet-build.yml CodeQL

What is this repository?

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.

What topics are covered?

Topics currently covered include:

  • Generic Host
  • Dependency Injection
  • Configuration
  • Logging
  • Application Lifetime
  • Command-Line Arguments

Additional topics may be added as the repository evolves.

Why use Dev Containers?

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.

About

A workspace for learning how to implement .NET dependency injection and hosting features.

Topics

Resources

License

Stars

Watchers

Forks

Contributors