Customize Blazor WASM sidebar per environment

Our client wanted to have a slightly different color scheme for our internal application for each environment, i.e. dev, test and production. I implemented this by injecting an IConfiguration which I wrote about in 2024. The component we need to change is in MainLayout.razor, the div with class= sidebar . I m not sure how to change the Continue reading Customize Blazor WASM sidebar per environment