MadEyeMatt.AspNetCore.Blazor 7.0.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.0.0                
NuGet\Install-Package MadEyeMatt.AspNetCore.Blazor -Version 7.0.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.0.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.0.0                
#r "nuget: MadEyeMatt.AspNetCore.Blazor, 7.0.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.0.0

// Install MadEyeMatt.AspNetCore.Blazor as a Cake Tool
#tool nuget:?package=MadEyeMatt.AspNetCore.Blazor&version=7.0.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 92 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