You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is now possible (in .NET 9) to register a DI service with the AddAsKeyed extension, and to then select a keyed service during injection with the use of the FromKeyedServices attribute.
We should look into supporting the FromKeyedServices attribute alongside the Inject attribute used for method parameter injection in the data portal.
The text was updated successfully, but these errors were encountered:
rockfordlhotka
changed the title
Support keyed DI services in data portal method injection
Support keyed DI services in data portal parameter injection
Mar 6, 2025
It is now possible (in .NET 9) to register a DI service with the
AddAsKeyed
extension, and to then select a keyed service during injection with the use of theFromKeyedServices
attribute.We should look into supporting the
FromKeyedServices
attribute alongside theInject
attribute used for method parameter injection in the data portal.The text was updated successfully, but these errors were encountered: