diff options
Diffstat (limited to 'wasm/Microsoft.AspNetCore.Blazor.E2EPerformance/Pages/Index.cshtml')
-rw-r--r-- | wasm/Microsoft.AspNetCore.Blazor.E2EPerformance/Pages/Index.cshtml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/wasm/Microsoft.AspNetCore.Blazor.E2EPerformance/Pages/Index.cshtml b/wasm/Microsoft.AspNetCore.Blazor.E2EPerformance/Pages/Index.cshtml new file mode 100644 index 0000000..870c79b --- /dev/null +++ b/wasm/Microsoft.AspNetCore.Blazor.E2EPerformance/Pages/Index.cshtml @@ -0,0 +1,11 @@ +@page "/" +@inject IJSRuntime JSRuntime + +Hello, world! + +@functions { + protected override void OnAfterRender() + { + BenchmarkEvent.Send(JSRuntime, "Rendered index.cshtml"); + } +} |