search
profile img

Bharat Dwarkani

Sep 21, 2019
bookmarks

linkchrissainty.com

In this post, we're going to explore the OwningComponentBase class, which was added to Blazor in .NET Core 3 Preview 9. It has a single purpose, to create a service provider scope. This is really useful in Blazor as service scopes behave a bit differently to how they do in say, MVC or Razor Pages applications. Using this class as a base, we can create components which control the lifetime of the service provider scope.

share
favorite_border0 visibility5
favorite_border0 visibility5 share
bookmarks
add