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

Azure Dev Spaces and Kubernetes Orchestration Support option in Visual Studio 2019

It’s been awhile but this one is important. Mostly because it frustrated me so much. When you right click on an ASP.NET Core project and Add>Container Orchestrator Support and add Helm Charts/Kubernetes then also add Docker Compose support, it seems that the default action for VS2019 is to push your F5 experience to Azure Dev Spaces. While this is pretty cool from a development experience perspective (especially leveraging the power of a distributed platform - I didn’t realize you could compose to it [shrugs]), it isn’t for everyone and honestly shouldn’t be the default....

March 27, 2020 · 2 min · Brian

FYI: No Access-Control-Allow-Origin

My Situation I constantly find myself provisioning new projects of all types (I’m probably not alone in this). I love that part - it’s like being a kid opening presents. The part that isn’t fun is getting tooling functioning so you can jump into your domain. I will admit, I do the same thing over and over which is literal insanity. In this case, here is what I was using:...

November 3, 2019 · 2 min · Brian