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

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.

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.
Follow @CodeOpinion on Twitter

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 the one host.
I’ve been wanting to do something similar in AspNetCore so this is right up my alley with great timing.  This is a great method for having independent apps but running under one host. Link:  


If you are familiar with MediatRRedux, or the Command Pattern you will feel right at home. All of the behaviors are written as plug-ins/middle-ware and attached to the MediatR pipeline. You can pick and choose which behaviors you would like to use or even write your own.
Pretty interesting idea and like to see where this goes along with Blazer in the future. Link:  


This was really cool and I had no idea about this.  You can also set this from Visual Studio in the Project Properties, Build, Advanced window. Link:  

Controllers as action filters in ASP.NET Core MVC

It is common to leverage action filters when building MVC applications – this was the case in classic ASP.NET MVC, in ASP.NET Web API and is a still widely used technique (with much richer support!) in ASP.NET Core MVC. What is not commonly known though, is that it’s possible for controllers to act as their own filters – so let’s have a look at this feature today.
Really love this idea of adding the filters to the controller itself since they are generally coupled anyways. Link:  
Follow @CodeOpinion on Twitter

Software Architecture & Design

Get all my latest YouTube Vidoes and Blog Posts on Software Architecture & Design

Leave a Reply

Your email address will not be published. Required fields are marked *