MadEyeMatt.AspNetCore.Blazor 7.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MadEyeMatt.AspNetCore.Blazor --version 7.4.0                
NuGet\Install-Package MadEyeMatt.AspNetCore.Blazor -Version 7.4.0                
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="7.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MadEyeMatt.AspNetCore.Blazor --version 7.4.0                
#r "nuget: MadEyeMatt.AspNetCore.Blazor, 7.4.0"                
#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=7.4.0

// Install MadEyeMatt.AspNetCore.Blazor as a Cake Tool
#tool nuget:?package=MadEyeMatt.AspNetCore.Blazor&version=7.4.0                

AspNetCore.Blazor

A library that provides some extensions for ASP.NET Core Blazor.

  1. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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