From 09a2c4692a6d41183d39138c6538002cf9e3e742 Mon Sep 17 00:00:00 2001 From: Robert Haken Date: Wed, 7 Feb 2024 00:14:48 +0100 Subject: [PATCH] Dependency Injection - formatting fix (missing bullets) --- aspnetcore/blazor/fundamentals/dependency-injection.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/blazor/fundamentals/dependency-injection.md b/aspnetcore/blazor/fundamentals/dependency-injection.md index f247e40f8e..7c4e5debae 100644 --- a/aspnetcore/blazor/fundamentals/dependency-injection.md +++ b/aspnetcore/blazor/fundamentals/dependency-injection.md @@ -326,8 +326,8 @@ Even in client-side Blazor apps that don't operate over a circuit, services regi > [!NOTE] > To detect disposable transient services in an app, see the following sections later in this article: > -> [Detect client-side transient disposables](#detect-client-side-transient-disposables) -> [Detect server-side transient disposables](#detect-server-side-transient-disposables) +> * [Detect client-side transient disposables](#detect-client-side-transient-disposables) +> * [Detect server-side transient disposables](#detect-server-side-transient-disposables) An approach that limits a service lifetime is use of the type. is an abstract type derived from that creates a DI scope corresponding to the *lifetime of the component*. Using this scope, it's possible to use DI services with a scoped lifetime and have them live as long as the component. When the component is destroyed, services from the component's scoped service provider are disposed as well. This can be useful for services that: