asp net core razor button click event

Use a base-relative path (/) to refer to the web root for a static asset. Register a root component as a custom element: In a Blazor WebAssembly app, call RegisterAsCustomElement on RootComponents in Program.cs: Include the following