Coderynx.MediatorKit
1.6.2
dotnet add package Coderynx.MediatorKit --version 1.6.2
NuGet\Install-Package Coderynx.MediatorKit -Version 1.6.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Coderynx.MediatorKit" Version="1.6.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Coderynx.MediatorKit" Version="1.6.2" />
<PackageReference Include="Coderynx.MediatorKit" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Coderynx.MediatorKit --version 1.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Coderynx.MediatorKit, 1.6.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Coderynx.MediatorKit@1.6.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Coderynx.MediatorKit&version=1.6.2
#tool nuget:?package=Coderynx.MediatorKit&version=1.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MediatorKit
Introduction
Coderynx.MediatorKit is a lightweight, extensible mediator library for .NET applications. It simplifies the communication between components through strongly-typed requests, promoting clean architecture and reducing tight coupling.
Features
- Simple and intuitive mediator pattern implementation
- Dependency injection ready
- Extensible pipeline behaviors for cross-cutting concerns
- Automated versioning and release process
- Comprehensive CI/CD pipeline
Installation
Install via NuGet:
dotnet add package Coderynx.MediatorKit
Or using the NuGet Package Manager:
Install-Package Coderynx.MediatorKit
Development
Building the Project
# Build all projects
./scripts/release.sh build
# Create NuGet packages
./scripts/release.sh pack
# Check project status
./scripts/release.sh status
Automated Releases
This project uses automated versioning and releases:
- Versioning: Uses Nerdbank.GitVersioning for automatic version management
- CI/CD: GitHub Actions workflows handle building, testing, and publishing
- Releases: Created automatically when version tags are pushed
Creating a Release
# Create a patch release (1.4.0 -> 1.4.1)
./scripts/release.sh release patch
# Create a minor release (1.4.0 -> 1.5.0)
./scripts/release.sh release minor
# Create a major release (1.4.0 -> 2.0.0)
./scripts/release.sh release major
Manual Release Process
- Update the
CHANGELOG.md
with your changes - Create and push a version tag:
git tag v1.4.1 git push origin v1.4.1
- The release workflow will automatically:
- Build and test the code
- Create NuGet packages
- Create a GitHub release
- Publish packages to NuGet.org
Security
The automation uses the following secrets:
NUGET_API_KEY
: API key for publishing to NuGet.org
Make sure these are properly configured in your GitHub repository settings.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Coderynx.MediatorKit.Abstractions (>= 1.6.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.