Skip to content

Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Follow @CodeOpinion

.NET

Brighter MySQL Command Store

I’ve been wanting to explore Brighter for awhile, probably over a year.  I figured I’d try something new this time around and actually explore it by contributing to the project itself.  I noticed there were no Command and Message Stores yet supporting MySQL.  Turns out it was pretty straight forward to port the Sqlite Message & Command over to MySQL.  So that’s what I did, created a Brighter MySQL Command Store. Brighter First, if you’re unfamiliar with Brighter, here’s a quick description: This project is a Command Processor & Dispatcher implementation that can be used as a lightweight library in other… Read More »Brighter MySQL Command Store

Logging MediatR Requests

With the MediatR v3, there is the ability to create your own request pipelines. To help out of the box, there are some predefined behaviors to help out with commen tasks such as pre and post request. These are RequestPreProcessorBehavior<,> and RequestPostProcessorBehavior<,> I’ve blogged about the new behaviors before but you can do it more generically. Cross Cutting Behavior I was looking at the pipeline to handle cross-cutting concerns like logging and metrics, which I would want on each command/query. — Scott Banwart (@sbanwart) September 6, 2017 Logging Pretty typical scenario of wanting to log incoming requests.   One common… Read More »Logging MediatR Requests

Launching Multiple Projects in JetBrains Rider

This sounds trivial, and it is.  But if you have a Visual Studio background and are trying out JetBrains Rider for the first time, this may not be apparent how to setup launching multiple projects in JetBrains Rider. This entire week I’ve almost exclusively used Rider.  I’ve used some of the early EAP’s, but not on an actual project. One of the first roadblocks I hit was trying to figure out how to launch multiple projects from my solution. Thankfully, it didn’t take me too long to figure out. However, I then had a colleague ask me the very next day… Read More »Launching Multiple Projects in JetBrains Rider