Skip to content
BridgingIT-GmbHPublic

About

Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles.

Resources

Code of conduct

Stars

7 stars

Watchers

2 watching

Forks

Latest commit

 

History

1,035 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bITDevKit

GitHub Actions Workflow Status NuGet Quality Gate Status License

Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles.

Introduction

The bITdevKit provides modular building blocks for modern .NET applications. It is centered around clean architecture, Domain-Driven Design, modular vertical slices and reusable infrastructure for real-world application concerns such as requests, messaging, queueing, storage, scheduling and presentation.

This repository contains the full source code, supporting docs and several example applications in ./examples that show how the framework can be composed in practice. The components are published as NuGet packages.

For the latest updates and release notes, please refer to the CHANGELOG.

Documentation

The documentation site is available at bridgingit-gmbh.github.io/bITdevKit.

The best entry point into the current documentation set is the Documentation and Introduction to DDD in bITdevKit.

Features

Common Infrastructure

Core Domain and Application

Execution, Messaging and Modularity

Security and Access

Presentation and Host

Storage, Scheduling and Utilities

Testing and Test Utilities

Libraries used (excerpt):

Example projects

Performance Benchmarks

The bITDevKit includes a dedicated benchmark project using BenchmarkDotNet to measure the performance of core components such as the Requester (CQRS/MediatR alternative).

How to run benchmarks:

dotnet run -c Release --project benchmarks/Common.Benchmarks/Common.Benchmarks.csproj
  • This will execute all benchmarks and generate detailed reports in the BenchmarkDotNet.Artifacts/results/ directory (HTML, Markdown, CSV).
  • The default benchmark covers the baseline request/response pipeline. You can extend the benchmarks to cover additional scenarios and compare different configurations.

Why benchmarks?

  • Ensure high performance and low allocations for core infrastructure.
  • Detect regressions and compare with other libraries (e.g., MediatR).
  • Guide optimization and architectural decisions.

For more details, see the Common.Benchmarks project in the benchmarks/ folder.

CI/CD

Builds, tests and releases run on GitHub Actions. Details for each pipeline are in the workflows README.

Workflow Runs Purpose
CI every push calculates the version with MinVer, builds, runs the unit tests, and on main and releases/dotnet9 can pack and push the NuGet packages
Pages push to main builds and publishes the documentation site, see GitHub Pages
CodeQL push and pull requests to main, daily code scanning

Dependency updates are configured in dependabot.yml.

Continuous AI

Recurring, repetitive repository chores are handled by agentic workflows, an approach GitHub Next calls Continuous AI: AI automation for collaboration, next to CI/CD and not a replacement for it. The workflows are written in Markdown, compiled with the GitHub Agentic Workflows CLI (gh aw compile) into regular Actions workflows, and run Copilot in a sandbox.

Agentic workflows and their maintenance jobs run only on non-github.com hosts. On github.com, their jobs are skipped. CI and documentation publishing keep their existing behavior.

Workflow Runs Result
Weekly Repo Status Mondays status report issue for maintainers
Weekly Package Update Mondays draft PR that applies the update-packages skill, only when build and unit tests are green
CI Fault Analysis failed CI on main or releases/* issue with the likely root cause
Continuous Docs Wednesdays draft PR with fixes that keep docs/ and the mkdocs site in line with the code
Continuous Test Improvement Tuesdays and Fridays draft PR with a few new unit tests for one under-covered class
Issue Triage new issue type and area labels, completeness check, next step
Issue Plan label ai-plan draft [plan] PR with an implementation plan in plan/, revised on request
Issue Implementation label ai-implement on the plan PR implementation pushed to the same PR, only when build and unit tests are green
Issue Review after an implementation, or label ai-review comment-only review of the PR against its plan, the architecture rules and code quality

The four issue workflows form one pipeline with two human gates: a maintainer applies ai-plan to an issue after triage, reviews the plan in the draft PR, and applies ai-implement to sign it off. The implementation is then pushed and reviewed against the plan, and if the review finds blocking issues it iterates again, at most three times on its own. Everything stays in one draft PR that a person reviews and merges. See Getting started for the one-time setup and the step by step flow.

Guardrails:

  • Agents run read-only. Issues and pull requests are created through safe outputs, and pull requests are drafts that a human reviews and merges.
  • Each run is capped in AI credits and time. Usage is billed to the organization Copilot plan, see cost management and check spend with gh aw logs.
  • The Markdown file is the source. Edit it, run gh aw compile, then run pwsh -File .github/aw/Set-AgenticWorkflowHostGuards.ps1. Commit the generated workflows with the sources. See the regeneration instructions.

Further reading: Automate repository tasks with GitHub Agentic Workflows.

GitHub Pages

The repository includes a MkDocs-based GitHub Pages site with:

  • a landing page under docs/site/
  • curated technical docs synced from ./docs

Public site: https://bridgingit-gmbh.github.io/bITdevKit/

Source structure

  • docs/site/
    • the site-specific source pages such as the landing page, getting started pages, templates page, styling, and helper scripts
  • docs/
    • the framework documentation source that is selectively imported into the public site
  • .github/pages/
    • the generated static MkDocs output

Which Markdown files get into the site

The sync step currently imports these files from ./docs into the public site:

  • INDEX.md
  • introduction-ddd-guide.md
  • common-*.md
  • features-*.md
  • testing-*.md

The following are intentionally excluded from GitHub Pages:

  • docs/adr/
  • docs/presentations/
  • docs/specs/
  • src/**

Add a new documentation page

For a new Markdown page from ./docs to appear in GitHub Pages:

  1. Add or update the Markdown file under ./docs.
  2. Make sure its filename matches one of the currently imported patterns above.
  3. If it should appear in navigation, add it to mkdocs.yml under the appropriate section.
  4. Regenerate the site locally or push to main so GitHub Actions publishes it.

Local preview and build

MkDocs is run through Docker. You do not need a local Python or MkDocs installation; you only need Docker Desktop or another Docker engine.

Preview the full site locally:

pwsh -File ./docs/site/scripts/serve-pages.ps1

The preview script synchronizes the public docs into docs/site/reference/, then starts the squidfunk/mkdocs-material:9 container and serves the site at http://localhost:8000.

Build the full static site locally:

pwsh -File ./docs/site/scripts/build-pages.ps1

That build command performs these steps:

  1. Synchronize the selected public docs from ./docs into docs/site/reference/
  2. Build the MkDocs site in Docker with squidfunk/mkdocs-material:9
  3. Write the generated static site to ./.github/pages/

For troubleshooting, the build script is equivalent to:

pwsh -File ./docs/site/scripts/sync-docs.ps1
docker run --rm -v "${PWD}:/docs" squidfunk/mkdocs-material:9 build --clean

Successful output should include Documentation built and generate ./.github/pages/index.html. Docker may print informational warnings from Material for MkDocs; link warnings should be treated as documentation issues and fixed before publishing.

Publishing through GitHub Actions

The Pages workflow is defined in pages.yml.

On each push to main, it:

  1. checks out the repository
  2. runs ./docs/site/scripts/build-pages.ps1
  3. verifies that ./.github/pages/index.html was generated
  4. publishes the generated site to the gh-pages branch

Typical workflow for docs updates

Typical documentation workflow:

  1. Edit or add Markdown under ./docs
  2. If needed, update mkdocs.yml so the page is reachable in navigation
  3. Run pwsh -File ./docs/site/scripts/serve-pages.ps1 to preview the result
  4. Run pwsh -File ./docs/site/scripts/build-pages.ps1 to generate the final static output
  5. Commit and push to main to publish via GitHub Actions

Collaboration

Simply create a pull request with your ideas or contact us. Please refer to the Contribution Guide for more information.

Commit Policy

To keep history clear and searchable, contributions should use semantic commit messages based on the Conventional Commits specification.

Format:

<type>[optional scope]: <description>

Examples:

  • feat(modules): add startup task registration
  • fix(jobs): prevent duplicate scheduling on startup
  • docs(readme): clarify contribution workflow

Policy:

  • Use the Conventional Commits format for all repository contributions
  • Keep the description in imperative mood and under 72 characters
  • Prefer one logical change per commit
  • Review git diff --staged before committing, or git diff if nothing is staged
  • Check git status --porcelain to confirm the exact files included
  • Never commit secrets or credentials

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles.

Resources

Code of conduct

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages