Two a day keeps stagnation away
An Introduction to OwningComponentBase

An Introduction to OwningComponentBase

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.

Read more:

Leave a Reply

Your email address will not be published. Required fields are marked *