.NET Rocks! cover image

.NET Rocks!

Mediatr with Jimmy Bogard

Sep 7, 2023
Jimmy Bogard, creator of MediatR, talks about how the mediator pattern emerged from his work with customer applications, breaking down blocks of code into manageable chunks. He discusses the challenges and reflections of software evolution, open source projects, and the boundaries of appropriate use.
55:58

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • The MediatR library emerged as a solution to maintain complex web applications by breaking down code into manageable chunks and promoting loose coupling.
  • The mediator pattern simplifies code in web applications by separating concerns, improving maintainability, flexibility, and testability.

Deep dives

Mediator pattern explained

The mediator pattern is a solution to deal with complex business logic in web applications. It involves a middleman, called the mediator, that handles the communication between the UI and the services. Instead of the UI directly depending on the services, it sends requests to the mediator, which dispatches them to the appropriate handling logic and returns the response. This pattern promotes loose coupling and simplifies testing by separating the UI from the business logic.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode