Clean Architecture — Blazor Starter Application

Lewis Baxter
2 min readJan 18, 2024

If you’ve ever wanted to develop an application, following the principles of Clean Architecture, then you, like myself, have almost certainly run into the issue of not being able to find any solid tutorials, documentation or code sample on this principle in use.

I’ve been wanting to develop an application in Blazor, which is a fantastic technology, and design the back-end of this application using the aformentiond principle, as well as including the CQRS Pattern. However, resources covering these topics individually can be difficult enough to understand and further more difficult to apply all together.

This is where I have spent the last few weeks focusing my time; I wanted to help new developers and seasoned programmers alike to avoid spending the hours and days I did gathering information and code snippets trying to build and understand these topics. And thus I have developed a Clean Architecture solution with Blazor and the CQRS pattern all-in-one. This solution offers a range of features from custom components to handle notifications, reusable modals, search functionality across large datasets and dynamic CQRS request and response handling.

This is the culmination of hard-work researching these topics, developing a thorough understanding and working through combining these principles to develop a modern…

--

--

Lewis Baxter

Software Developer working in the UK | MBCS Professional Member