I really like the approach of Blazor wrt WASM, but really dislike having to dump whole code blocks into CSHTML files like I'm writing old ASP.NET Forms again. Something just feels off.
Is there any way to isolate those code blocks and import them?
EDIT: To answer my own question, this appears to be the solution:
https://www.telerik.com/blogs/using-a-code-behind-approach-t...