Skip to main content




I just realized that Razor Pages has CSS Isolation for pages. That’s why there’s typically an {assembly name}.styles.css link in the Layout.cshtml file.

It’s there to inject page-specific isolated CSS. #aspnetcore #dotnet

3237994

3237996

3237998