The best way to pass data between Blazor pages is by registering a singleton service and injecting it as a dependency onto the pages or components that need it. In this tutorial, you will create a C# class, register it as a service in your Blazor app, inject an instance of the service onto your pages, and use the service to share data across Blazor components.

Bharat Dwarkani shared on Nov 02, 2019
favorite_border0 visibility70
favorite_border0 visibility70 share bookmarks