This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Use factory pattern for creating \ activating \ model binding a controller in ControllerActionInvoker #6249
Closed
Description
We established a pattern of using delegates that close over state in the factory, activator and model binder for pages. This moves the onus of caching and managing state from individual components to a single piece in the ActionInvokerProvider
. We should do something similar with controllers.