Recommend reading main DI topic (#26430)
parent
13b157a744
commit
caa13114b6
|
@ -21,6 +21,9 @@ This article explains how Blazor apps can inject services into components.
|
|||
* Framework-registered services can be injected directly into components of Blazor apps.
|
||||
* Blazor apps define and register custom services and make them available throughout the app via DI.
|
||||
|
||||
> [!NOTE]
|
||||
> We recommend reading <xref:fundamentals/dependency-injection> before reading this topic.
|
||||
|
||||
## Default services
|
||||
|
||||
The services shown in the following table are commonly used in Blazor apps.
|
||||
|
@ -399,6 +402,9 @@ Navigate to the `TransientExample` component at `/transient-example` and an <xre
|
|||
* Framework-registered services can be injected directly into components of Blazor apps.
|
||||
* Blazor apps define and register custom services and make them available throughout the app via DI.
|
||||
|
||||
> [!NOTE]
|
||||
> We recommend reading <xref:fundamentals/dependency-injection> before reading this topic.
|
||||
|
||||
## Default services
|
||||
|
||||
The services shown in the following table are commonly used in Blazor apps.
|
||||
|
@ -794,6 +800,9 @@ Navigate to the `TransientExample` component at `/transient-example` and an <xre
|
|||
* Framework-registered services can be injected directly into components of Blazor apps.
|
||||
* Blazor apps define and register custom services and make them available throughout the app via DI.
|
||||
|
||||
> [!NOTE]
|
||||
> We recommend reading <xref:fundamentals/dependency-injection> before reading this topic.
|
||||
|
||||
## Default services
|
||||
|
||||
The services shown in the following table are commonly used in Blazor apps.
|
||||
|
|
Loading…
Reference in New Issue