how to get one component value in other component in asp.net blazor code example
Example 1: how to pass property between blazor components
services.AddScoped<Services.AppData>();
Example 2: how to pass property between blazor components
@page "/page2"
@inject Services.AppData AppData