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
As part of aspnet/Mvc#3507, FromServicesAttribute was changed to only apply to parameters. The limits the attribute usage to only apply to action arguments and can no longer be applied to controller or model properties to bind services.
Eilon
changed the title
FromServicesAttribute is limited to apply to parameters
MVC FromServicesAttribute is limited to apply to parameters
Nov 18, 2015
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As part of aspnet/Mvc#3507,
FromServicesAttribute
was changed to only apply to parameters. The limits the attribute usage to only apply to action arguments and can no longer be applied to controller or model properties to bind services.Use aspnet/Mvc#3578 for further discussion.
The text was updated successfully, but these errors were encountered: