✅ Blazor / ASP.NET - @inject keyed service
Is there a way in .NET 8 to inject a keyed service like a normal service with the
I know of the
I thought of a way like
@inject keyword?I know of the
FromKeyedServices attribute, but cannot figure out how to use it in combination with @inject.I thought of a way like
@inject [FromKeyedServices("MyService")] ServiceClass FooBar;