10

How to easily extend your app using MediatR notifications

This is post 2 of 2 in the series “Getting started with MediatR” Probably the biggest question you face as a developer every single day is “where to put your code“? Should you use repositories or query classes? Should you have one class or two to represent your domain object? Should you write a new class or extend an existing …

29

Simplify your controllers with the Command Pattern and MediatR

This is post 1 of 2 in the series “Getting started with MediatR” So you want to keep your controllers thin even as your application becomes more and more complicated. You’re concerned that your controllers are getting bloated and you’ve heard people talk about the command pattern as one possible solution. But you don’t know how the command pattern would …