Clean Architecture From a Technical Interview Perspective

Clean Architecture is recommended by Microsoft for building modern web applications with ASP.NET Core. This article discusses how to use Clean Architecture to prep for technical interviews.

Shawn Shi
The Startup

--

Clean Architecture — Onion View (From Microsoft documentation)

UPDATE April 10, 2022: all projects in the GitHub repo have been upgraded to .NET 5.

Goal

Microsoft has a library of amazing architecture documentations, one of which is called Architect Modern Web Applications with ASP.NET Core and Azure, which is also an e-book written by Steve Smith, aka, “Ardalis”. Clean Architecture not only contains many great design principles, but also many fundamental programming knowledge points which are frequently asked in technical interviews.

This article aims to take quick tour, from a technical interview perspective, at a GitHub start project, which is designed to build a web API using Partitioned Repository Pattern with Azure Cosmos DB, ASP.NET Core, and Clean Architecture. This tour allows us to understand how programming fundamentals, Objected-Oriented programming, and System Design are applied in a real world enterprise application.

Why Not Just LeetCode?

--

--

Shawn Shi
The Startup

Senior Software Engineer at Microsoft. Ex-Machine Learning Engineer. When I am not building applications, I am playing with my kids or outside rock climbing!