MediatR implements the mediator pattern in .NET, decoupling request handling from the caller. It’s become my go-to for organizing application logic. Setup Request and Handler Using in Controller Benefits Decoupled handlers – easy to test Pipeline behaviors for cross-cutting concerns Clean controller actions References MediatR GitHub
Read more →Tag: .NET
Becoming a .NET Foundation Member: My Journey
I’m excited to announce that I’ve been accepted as a member of the .NET Foundation! This is a significant milestone in my developer journey, and I wanted to share what it means and how you can get involved. What is the .NET Foundation? The .NET Foundation is an independent organization supporting the open source .NET […]
Read more →Visual Studio 2019 Community Launch – What’s New for .NET Developers
We hosted the Visual Studio 2019 Community Launch event in Letterkenny, and I had the honor of presenting what’s new in C# 8.0 and .NET Core 3.0 (preview). The energy in the room was fantastic! Visual Studio 2019 Highlights The new IDE brings significant improvements: Faster load times: Solution load is noticeably quicker AI-powered IntelliCode: […]
Read more →Docker for .NET Developers: Containerizing Applications
Docker is essential for modern .NET development. Here’s how to containerize your .NET Core applications. Basic Dockerfile Building and Running Best Practices Use multi-stage builds to reduce image size Don’t run as root Use .dockerignore Pin base image versions References Docker .NET Documentation
Read more →Introduction to Apache Kafka for .NET Developers
Kafka is everywhere in modern architectures. If you’re coming from MSMQ or RabbitMQ, Kafka is a different beast. Here’s what .NET developers need to know. What Makes Kafka Different Kafka isn’t just a message queue—it’s a distributed commit log. Messages persist, consumers track their own position, and you can replay history. This changes how you […]
Read more →Repository Pattern in .NET Core: Implementation Guide
The Repository pattern is one of those patterns that generates debate. Some say it’s essential, others call it unnecessary abstraction over EF Core. Here’s my pragmatic take on when and how to use it. What is the Repository Pattern? A repository abstracts data access, providing a collection-like interface to your domain objects. Instead of calling […]
Read more →