Visual Studio Code – Extract block to code behind is no longer available in .NET 8 and Visual Studio 2022
I'm using .NET 8 and Blazor in Visual Studio 2022 and I want to move my C# code to a code behind file. There is supposed to be an option called "Extract block to code behind" if you highlight the…