I created project from this template (.NET 8):
And I want to use InteractiveWebAssembly in Counter.razor page.
I add modification in Program.cs:
builder.Services.AddRazorComponents() .AddInteractiveServerComponents() .AddInteractiveWebAssemblyComponents();and:
app.MapRazorComponents<App>() .AddInteractiveServerRenderMode() .AddInteractiveWebAssemblyRenderMode(); and on Counter.razor replaced @rendermode InteractiveServer to @rendermode InteractiveWebAssembly
But after this counter stopped to work, debugger never go to IncrementCount() method.
What did you miss, do I need other modifications in the project?