samuelpratt / MediatRDemo

Super Simple MediatR demo in ASP.NET MVC Core deployed to Docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MediatRDemo

What is it

Super Simple MediatR demo in ASP.NET MVC Core.

MediatR is a super simple to use message dispatcher which can be used to make CQRS super simple in ASP.NET MVC.

See https://github.com/jbogard/MediatR/wiki for details of how to use MediatR.

How to run it

Pre-requisits

Running the code

Run ./run.sh. This will: -

  • Build the project
  • Build a docker image called samuelpratt/mediatrapp
  • Run the docker image locally with ports 80:80 mapped

navigate to http://localhost/api/ping/foo

About

Super Simple MediatR demo in ASP.NET MVC Core deployed to Docker.

License:MIT License


Languages

Language:C# 90.4%Language:Shell 6.9%Language:Dockerfile 2.7%