MadEyeMatt.AspNetCore.Blazor
7.2.0
See the version list below for details.
dotnet add package MadEyeMatt.AspNetCore.Blazor --version 7.2.0
NuGet\Install-Package MadEyeMatt.AspNetCore.Blazor -Version 7.2.0
<PackageReference Include="MadEyeMatt.AspNetCore.Blazor" Version="7.2.0" />
paket add MadEyeMatt.AspNetCore.Blazor --version 7.2.0
#r "nuget: MadEyeMatt.AspNetCore.Blazor, 7.2.0"
// Install MadEyeMatt.AspNetCore.Blazor as a Cake Addin #addin nuget:?package=MadEyeMatt.AspNetCore.Blazor&version=7.2.0 // Install MadEyeMatt.AspNetCore.Blazor as a Cake Tool #tool nuget:?package=MadEyeMatt.AspNetCore.Blazor&version=7.2.0
AspNetCore.Blazor
A library that provides some extensions for ASP.NET Core Blazor.
- Enables contructor injection for components.
Usage
Constructor Injection for Components
To enable contructor injection for Blazor components just add the custom component activator and the component types to resolve from the service provider.
builder.Services.AddComponentActivator();
builder.Services.AddComponent<FetchData>();
That's it. The registered components are resolved from the container and components that are not registered are activated just like the default activator does.
References
PathString
and QueryString
types were taken from the ASP.NET Core repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- JetBrains.Annotations (>= 2022.3.1)
- Microsoft.AspNetCore.Components.Web (>= 7.0.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MadEyeMatt.AspNetCore.Blazor:
Package | Downloads |
---|---|
Fluxera.Extensions.Hosting.Modules.AspNetCore.Blazor
A module that enables Blazor for ASP.NET Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 113 | 11/14/2024 |
8.0.7 | 105 | 11/1/2024 |
8.0.6 | 170 | 6/2/2024 |
8.0.5 | 116 | 5/24/2024 |
8.0.4 | 268 | 4/18/2024 |
8.0.3 | 178 | 3/19/2024 |
8.0.2 | 296 | 1/4/2024 |
8.0.1 | 214 | 11/24/2023 |
8.0.0 | 154 | 11/16/2023 |
7.4.1 | 212 | 4/29/2023 |
7.4.0 | 201 | 4/24/2023 |
7.3.0 | 204 | 4/14/2023 |
7.2.0 | 204 | 4/14/2023 |
7.1.3 | 188 | 4/13/2023 |
7.1.2 | 243 | 3/22/2023 |
7.1.1 | 280 | 2/24/2023 |
7.1.0 | 326 | 1/18/2023 |
7.0.0 | 372 | 11/20/2022 |
6.1.0 | 398 | 10/12/2022 |
6.0.1 | 433 | 6/7/2022 |
6.0.0 | 536 | 5/11/2022 |