Saji Weerasingham · @sajilicious
20 followers · 256 posts · Server hachyderm.io

I keep hearing about frameworks like Brighter/Darker, Wolverine ("critter stack") etc that are alternatives to Mediatr.

Any suggestions on what is better from a DDD or event-driven development point of view taking into account developer productivity and performance?

#dotnet #ddd #evetdrivendevekopment #mediatr #brighter #wolverine

Last updated 1 year ago

Mike Goatly · @mikegoatly
40 followers · 130 posts · Server toot.community

If you're migrating v12, read the migration guide super carefully!

If you use behaviors and previously added the `TRequest : IRequest<TResponse>` generic constraint when moving to v11, you need to revert that back to just `notnull` otherwise requests with only the non-generic `IRequest` will SILENTLY no longer be processed by it; no compilation or runtime errors. I now doubly appreciate my API acceptance tests, otherwise I wouldn't have spotted it!

github.com/jbogard/MediatR/wik

#mediatr #dotnet

Last updated 1 year ago

jakenuts · @jpw
40 followers · 250 posts · Server hachyderm.io

Trying the “strangler fig” approach to an old webforms 4.8 site and am using 7.0 with postgres (first time!) for identity but now comes the “how to I handle user data requests from the old site”. Thought about an API but before I did - anyone know if there is a way to send request from a 4.8 app and let it be handled in a net 7.0 library? Can’t reference it directly in the 4.8 app but I imagine there’s a way..

#dotnet #efcore #mediatr

Last updated 2 years ago

jakenuts · @jpw
27 followers · 95 posts · Server hachyderm.io

Anyone have advice on whether it's better to to use classes or records for MediatR INotifications/IRequests?

#mediatr #mediator

Last updated 2 years ago

jakenuts · @jpw
5 followers · 11 posts · Server hachyderm.io

This looks really nice, a clean evolution from .

The decoupled nature of the frameworks is awesome, but also a concern - how do I know there’s a handler there, how to see that in static analysis?

Anyone have an idea for how to keep the loose coupling but also let IDE’s surface the links & handlers?

@jeremydmiller
wolverine.netlify.app/tutorial

#mediatr #mediator #wolverine

Last updated 2 years ago

Anthony Steele · @anthony_steele
116 followers · 318 posts · Server dotnet.social

@BearNuzzler

I saw a microservice that has 1 api endpoint on a controller, and 1 service that does the work. And between them: .

WTF. There was no benefit whatsoever to interposing mediatR there. None.
Use it when it makes sense, not by rote.

#mediatr

Last updated 2 years ago

Bear Nuzzler · @BearNuzzler
24 followers · 21 posts · Server tech.lgbt

Currently learning more about Clean Architecture.
Using MediatR seems to be quite en vogue these days. But I don't really understand why. There are some benefits to this abstraction but the code obfuscation and the Service Locator pattern through the backdoor it brings seem like a really bad design decision. It totally removes the dependency declaration of a class which seems horrible to test.
Or am I just missing something here?

#csharp #dotnet #cleanarchitechture #mediatr

Last updated 2 years ago

ChiefPosh :verified: · @xeo
92 followers · 291 posts · Server home.social
· @devcouch
15 followers · 898 posts · Server ruhr.social

.NET 5? Mediatr? DbUp? GRÜNKOHLSAFT? Vor 2 Monaten haben wir eine neue DevCouch Folge aufgenommen! Heute kann man sie hören!

t.co/mMh7GYS9IT

#dotNet5 #podcast #dbup #mediatr #grünkohl

Last updated 4 years ago