What is missing or what is the proper instructions I should follow?
I created a new project using dotnet new blazor -o MyWebApp and at basic level at a page called Alpha.razor inside Pages inside Components file when I create a simple function private void test(){Console.WriteLine("Hello World");} and call it with <button @onclick="test">Test</button> However in the debugging session or when I run the project in the localhost:5345/Alpha I can't see the message Hello World after I click the button unless I add in the first line of Alpha.razor @rendermode InteractiveServer. It looks ok but the problem arises in latter steps when I include @rendermode InteractiveServer on shared pages like NavMenu.razor to do similar tasks it doesn't work like it works on pages. My question again is what should I exactly do to fix the functionality part.