Blazor Code Behind

If you have been using Blazor, you are probably familiar with .razor files that contain both the UI markup and the code to support it. The template from Microsoft for a new Blazor Server application creates a Pages/Counter.razor file that looks like this - @page '/counter' @rendermode InteractiveServer < PageTitle > Counter </ PageTitle > < h1 > Counter </ h1 > < p role = 'status' > Current count…