Skip to content

Sponsor: Using RabbitMQ or Azure Service Bus in your .NET systems? Well, you could just use their SDKs and roll your own serialization, routing, outbox, retries, and telemetry. I mean, seriously, how hard could it be?

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

Derek Comartin

DTOs & Mapping : The Good, The Bad, And The Excessive

Something that’s often overused, misunderstood, or just incorrectly applied in software development: Data Transfer Objects (DTOs). DTOs are a common pattern, but like many things in software, they tend to get used in places where they don’t actually solve the problem at hand. So, what are DTOs really for? When should you use them? And when are they just extra work with no real benefit? Let’s dig in. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. What Are Data Transfer Objects (DTOs)? First, let’s start with… Read More »DTOs & Mapping : The Good, The Bad, And The Excessive

Cloud vs Self-Hosting

Why not self-host using a VPS or dedicated hardware instead of using the cloud? Well, there are a lot of reasons. The cloud isn’t just about scaling; it’s about managed services. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Dissecting the Trend You’ve probably seen some memes on social media or blog posts pushing back against the cloud, advocating for self-hosting instead. But here’s the thing—everyone’s opinions are shaped by their own context. What works for them might not work for you. Let’s take a closer… Read More »Cloud vs Self-Hosting

Microservices to Monolith

There’s been a noticeable pushback against microservices lately, and we’re seeing a strong swing back toward monoliths. But I have to ask, if you can’t build a solid microservices system, what makes you think you can build a good monolith? YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Understanding the Basics: Network Calls Nearly a decade ago, Simon Brown echoed a similar sentiment, just in reverse of today, and I believe the reasons remain unchanged. Let’s dive into the fundamentals first. Imagine we have two components,… Read More »Microservices to Monolith