Blazor C# highlighting is YUCKY - Part 2: JetBrains Rider

Here we go again.. This is how you disable it in Rider: File > Settings > Editor > Color Scheme > ASP.NET Drop down the Razor list and choose Code Block. Uncheck the background color to the right. Tuh-dah! This was default on the VS Dark Theme for Rider. I’m not sure about others.

July 11, 2021 · 1 min · Brian

Visual Studio Blazor C# Highlighting is Yucky

Here’s how you can fix it Change it back to C# code: in VS2019 click Tools>Options>Environment>Fonts and Colors>HTML Razor Code Background. On the right side, you can select another Item background. You can select another background that uses your default color and save it as a custom color then go back to select it. Use code-behind! You can add a standard C# class as a partial class in the same parent as the Blazor Page and name it PageName....

August 17, 2020 · 1 min · Brian

Recipe: Publish a .NET Core 3 ASP.NET project on Heroku using Docker

My $0.02 Heroku is great. You can deploy a concept for free and the next highest tier is a few bucks away. When you’re ready to go to scale, it’s ready and prorated to the second. Neat. Docker is great. You can build, test, and deploy in any configuration on a local stack. Everything is ephemeral awesome. .NET Core is great. I can write great apps with the framework I prefer and not be stuck on Windows....

October 19, 2019 · 3 min · Brian