Implementing MediatR in .NET API: Benefits & Setup
A guide to implementing the MediatR library in a .NET API, covering its benefits for decoupling, testability, and cleaner code.
Manoj Choudhari is a Microsoft MVP and Azure & .NET consultant with 10+ years of experience in application development and cloud solutions. He writes practical guides on Azure, .NET, microservices, DevOps, and full-stack web development.
25 articles from this blog
A guide to implementing the MediatR library in a .NET API, covering its benefits for decoupling, testability, and cleaner code.
Explains the CQRS pattern, its benefits for scaling read/write operations independently, and when to use it in software architecture.
Explores ethical boundaries and risks of AI, advising where human judgment should prevail over automation.
A detailed comparison of Azure Service Bus and RabbitMQ, covering architecture, features, protocols, and use cases to help choose the right message broker.
A high-level overview of Azure Integration Services, including API Management, Logic Apps, Service Bus, and Event Grid.
Explores API versioning strategies, their importance for backward compatibility, and their impact on development and release management.
Key principles for designing scalable microservices, including Single Responsibility and Independent Deployability, to ensure performance and maintainability.
Compares monolithic, modular monolith, and microservices architectures, detailing their characteristics, advantages, and challenges.
A structured learning plan for C#/.NET developers to master microservices architecture, covering fundamentals, implementation, and Azure deployment.
Explains how to use .NET 8's new keyed services feature for dependency injection when a single interface has multiple implementations.
A tutorial on using the dotnet-sonarscanner CLI tool to analyze a .NET solution and generate reports with SonarQube.
A step-by-step guide to installing and running a local SonarQube instance for code quality analysis and experimentation.
A guide to automating the cleanup of stale branches from a remote Git repository, covering generic approaches and provider-specific options.
A guide to using PowerShell scripts to automatically delete merged or stale local Git branches, cleaning up your repository.
Explains how to use the dotnet CLI's filter switch to run a specific subset of tests from a C# .NET test project, avoiding code modifications.
A tutorial on configuring a JavaScript application to read settings from Azure App Configuration Service using the official client library.
Explains how to use labels in Azure App Configuration Service to manage environment-specific settings like connection strings and feature flags.
A tutorial on exporting key-value pairs from Azure App Configuration Service to a JSON file using Azure CLI commands.
A guide on importing JSON configuration files into Azure App Configuration Service using Azure Portal and CLI.
A guide to implementing conditional feature flags using Azure App Configuration Service and the Microsoft.FeatureManagement library.