Does Grace support method injection? The reason I'm asking is because I'm thinking whether it'd be more optimal to load dependencies in my MVC controller on a per-action basis instead of by the use of constructor injection. Not all actions require a certain dependency, and it feels somewhat redundant to instantiate services that won't be used for a specific request.
Does Grace support method injection? The reason I'm asking is because I'm thinking whether it'd be more optimal to load dependencies in my MVC controller on a per-action basis instead of by the use of constructor injection. Not all actions require a certain dependency, and it feels somewhat redundant to instantiate services that won't be used for a specific request.