Blazor Error Handling OwningComponentBase and EF Core Tracking

image

The version of the book An Introduction to Building Applications with Blazor had a major change from Preview version 8 to Preview version 9 with the introduction of OwningComponentBase.

Using OwningComponentBase ensures that the service and related services that share its scope are disposed with the component. Otherwise a service will live for the life of user’s the connection to the application, which may be problematic if users stay connected for a long time.

Tags: Blazor
 •  0 comments  •  flag
Share on Twitter
Published on September 15, 2019 17:58
No comments have been added yet.