This is a subsequent issue separated from
: [Using DependencyResolver with ITempDataProvider/IActionInvoker the resolved instances are only created once and then shared], in which only Controller.CreateActionInvoker() is fixed. Should we make a similar fix applied to Controller.CreateTempDataProvider()?
Although ITempDataProvider is already like a factory producing a data dictionary. According to
, some IoC containers, such as Ninject, may offer
options to set the life span of a service's instance
So the user may still consider it as a bug.