GithubHelp home page GithubHelp logo

clawcastle / mediatr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jbogard/mediatr

0.0 0.0 0.0 5.7 MB

Simple, unambitious mediator implementation in .NET

License: Apache License 2.0

C# 97.93% PowerShell 2.07%

mediatr's Introduction

MediatR

CI NuGet NuGet MyGet (dev)

Simple mediator implementation in .NET

In-process messaging with no dependencies.

Supports request/response, commands, queries, notifications and events, synchronous and async with intelligent dispatching via C# generic variance.

Examples in the wiki.

Installing MediatR

You should install MediatR with NuGet:

Install-Package MediatR

Or via the .NET Core command line interface:

dotnet add package MediatR

Either commands, from Package Manager Console or .NET Core CLI, will download and install MediatR and all required dependencies.

Using Contracts-Only Package

To reference only the contracts for MediatR, which includes:

  • IRequest (including generic variants and Unit)
  • INotification
  • IStreamRequest

Add a package reference to MediatR.Contracts

This package is useful in scenarios where your MediatR contracts are in a separate assembly/project from handlers. Example scenarios include:

  • API contracts
  • GRPC contracts
  • Blazor

mediatr's People

Contributors

jbogard avatar khellang avatar simoncropp avatar driekus77 avatar alexandruchirita4192 avatar bartosz6 avatar remcoros avatar lilasquared avatar shumigaj avatar henkmollema avatar sq735 avatar chrismissal avatar jordy-asebp avatar dadhi avatar fredimachado avatar sergergood avatar mderriey avatar kahbazi avatar geirsagberg avatar daniel-white avatar jordywells avatar josephwoodward avatar danielmarbach avatar vegar avatar z4kn4fein avatar lodewijksioen avatar jchannon avatar dariogriffo avatar seesharper avatar twadrianlis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.