How I organise my Blazor components

added by DotNetKicks
9/29/2021 10:39:20 AM

301 Views

When you come to a web project how do you know where to find its components? After a few years working on Blazor projects I've settled on a fairly consistent approach for organising my components. As ever, your mileage may vary :-) Features - Components - Feature A - Components - Index.razor - AnotherPage.razor Index.razor Firstly I always rename Pages to Features.


0 comments