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
Currently, We have to use clientConnectedArgs.Request.HttpContext.RequestServices.GetRequiredService<T>()
to get needed services from DI. It's not an intended way.
Proposal
A more ASP.NET Core style DI. Maybe something like jamesmh/coravel did.
Problem to solve
Currently, We have to use
clientConnectedArgs.Request.HttpContext.RequestServices.GetRequiredService<T>()
to get needed services from DI. It's not an intended way.
Proposal
A more ASP.NET Core style DI. Maybe something like jamesmh/coravel did.
References
The text was updated successfully, but these errors were encountered: