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
image
wellsb.com
bookmarks
share
visibility137
visibility137 share bookmarks
add