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

ASP.NET

State Driven UI in ASP.NET Core MVC

In most MVC applications when rending Razor Views, I think the tendency is to use the IUrHelperl.Action inside if anchor href or form action.  If you are using ASP.NET Core, maybe you are using tag helpers like anchor tag helper.  But there’s another option I don’t see very often, which is creating the relevant routes and define them in your ViewModel within in your controller action.   This can be really useful when you’re application’s available actions are driven by state. Razor Here’s a small example of a shopping cart.  The view model has a list of products that are in your… Read More »State Driven UI in ASP.NET Core MVC

.NET Video Tutorials

I’ve started a YouTube channel last year to provide some video content to many of my blog posts.  I’ve never really mentioned it on this blog, which seems crazy.  Primarily these are .NET Video Tutorials as well as recorded talks that I’ve done at various conferences. Please take a look and subscribe if this is up your alley.  I plan on providing regular content on YouTube as well as continuing to do so on this blog.  Video just seems like a natural extension to provide content that is generally on this blog. Popular Videos How to Self Host ASP.NET Web API… Read More ».NET Video Tutorials

Migrating to SDK csproj

The SDK csproj files introduced with Visual Studio 2017 are a much needed improvement to the project files.    If you are creating a new .NET Core project or a .NET Standard library, either with VIsual Studio 2017 or the .NET CLI via dotnet new, it will generate the new SDK csproj.  What isn’t very clear to many is that you can use the new SDK format with full .NET Framework apps.  So this post will point out a really simple way for migrating to SDK csproj. SDK Benefits First, if you are unfamiliar with the new SDK csproj, here are… Read More »Migrating to SDK csproj