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

Derek Comartin

How to Create Health Checks in ASP.NET Core

If you’re using a load balancer in front of your ASP.NET Core application you will need to provide it a route where it can verify that your application is still running.  Here’s an overview of how you can implement implement Health Checks in ASP.NET Core. Health Checks in ASP.NET Core If you’re using ASP.NET Core MVC, you might first think to just create a controller and action and provide that route as the health check for your load balancer. However there are alternative ways to accomplish this with middleware. Basic Middleware At the very basic level, we can create a… Read More »How to Create Health Checks in ASP.NET Core

HTTP API Problem Details in ASP.NET Core

If you’ve been writing HTTP API’s, you likely have needed to return exceptions and errors back to the consuming clients.  Before you go and grow your own solution to this common problem, there is RFC 7807 Problem Details for HTTP APIs which set out solve this problem. “problem detail” as a way to carry machine-readable details of errors in a HTTP response to avoid the need to define new error response formats for HTTP APIs. Problem Details in ASP.NET Core Now that you’re on board with Problem Details, how do we use or implement this in ASP.NET Core.  Thankfully, Kristian Hellang has… Read More »HTTP API Problem Details in ASP.NET Core

Roundup #7: AspNet Core Nested Applications, Blazor-State, DebugType=Embedded, Controllers as action filters

Here are the things that caught my eye last week.  I’d love to hear what you found most interesting this week.  Let me know in the comments or on Twitter. https://youtu.be/Cg_cdTLDzuoVideo can’t be loaded because JavaScript is disabled: Roundup #7: Nested Applications, Blazor-State, DebugType, Action filters (https://youtu.be/Cg_cdTLDzuo) AspNet Core Nested Applications Given any application of a reasonable size, to reason about it and manage complexity one generally applies modular programming along clear and well defined boundaries. Recently I was seeking to do this with AspNet Core where I wanted to compose several independent applications, potentially developed by separate teams, within… Read More »Roundup #7: AspNet Core Nested Applications, Blazor-State, DebugType=Embedded, Controllers as action filters