MadEyeMatt.AspNetCore.Blazor
8.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MadEyeMatt.AspNetCore.Blazor --version 8.0.2
NuGet\Install-Package MadEyeMatt.AspNetCore.Blazor -Version 8.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MadEyeMatt.AspNetCore.Blazor" Version="8.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MadEyeMatt.AspNetCore.Blazor --version 8.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MadEyeMatt.AspNetCore.Blazor, 8.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MadEyeMatt.AspNetCore.Blazor as a Cake Addin #addin nuget:?package=MadEyeMatt.AspNetCore.Blazor&version=8.0.2 // Install MadEyeMatt.AspNetCore.Blazor as a Cake Tool #tool nuget:?package=MadEyeMatt.AspNetCore.Blazor&version=8.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. 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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- JetBrains.Annotations (>= 2023.3.0)
- Microsoft.AspNetCore.Components (= 6.0.25)
- Microsoft.AspNetCore.Components.Authorization (= 6.0.25)
- Microsoft.AspNetCore.Components.Web (= 6.0.25)
- Microsoft.AspNetCore.Http (= 2.2.2)
- Microsoft.AspNetCore.WebUtilities (= 2.2.0)
- Microsoft.Extensions.Http (>= 8.0.0)
-
net7.0
- JetBrains.Annotations (>= 2023.3.0)
- Microsoft.AspNetCore.Components (= 7.0.14)
- Microsoft.AspNetCore.Components.Authorization (= 7.0.14)
- Microsoft.AspNetCore.Components.Web (= 7.0.14)
- Microsoft.AspNetCore.Http (= 2.2.2)
- Microsoft.AspNetCore.WebUtilities (= 2.2.0)
- Microsoft.Extensions.Http (>= 8.0.0)
-
net8.0
- JetBrains.Annotations (>= 2023.3.0)
- Microsoft.AspNetCore.Components (>= 8.0.0)
- Microsoft.AspNetCore.Components.Authorization (>= 8.0.0)
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
- Microsoft.AspNetCore.WebUtilities (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
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 | 94 | 11/14/2024 |
8.0.7 | 97 | 11/1/2024 |
8.0.6 | 164 | 6/2/2024 |
8.0.5 | 110 | 5/24/2024 |
8.0.4 | 262 | 4/18/2024 |
8.0.3 | 174 | 3/19/2024 |
8.0.2 | 292 | 1/4/2024 |
8.0.1 | 209 | 11/24/2023 |
8.0.0 | 150 | 11/16/2023 |
7.4.1 | 208 | 4/29/2023 |
7.4.0 | 197 | 4/24/2023 |
7.3.0 | 200 | 4/14/2023 |
7.2.0 | 200 | 4/14/2023 |
7.1.3 | 184 | 4/13/2023 |
7.1.2 | 239 | 3/22/2023 |
7.1.1 | 276 | 2/24/2023 |
7.1.0 | 322 | 1/18/2023 |
7.0.0 | 368 | 11/20/2022 |
6.1.0 | 394 | 10/12/2022 |
6.0.1 | 429 | 6/7/2022 |
6.0.0 | 532 | 5/11/2022 |