API
MapRazorComponents<T>()
Maps component endpoints for the root component.
Formal Syntax & Structure
csharp syntaxcsharp
app.MapRazorComponents<App>()Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.app.MapRazorComponents<App>()