This is Nickaceves's TypePad Profile.
Join TypePad and start following Nickaceves's activity
Nickaceves
Recent Activity
What about the controller's dependencies though? Surely you're not suggesting that each controller release its own dependencies.
Additionally, what is the expected lifecycle of services returned by IDepdencyResolver? Does the calling code expect these to be singleton instances? If it expects transient instances, do they get disposed when they're done with?
For now, I will continue to override DefaultControllerFactory's GetControllerInstance and ReleaseController methods. That way I know that my entire dependency tree has been released correctly by the container.
ASP.NET MVC 3 Service Location, Part 5: IDependencyResolver
Series Index Part 1: Introduction Part 2: Controllers Part 3: View Engines and View Pages Part 4: Filters Part 5: IDependencyResolver Part 6: Model Validation Part 7: Model Metadata Part 8: Value Providers Part 9: Model Binders Part 10: Controller Activator Part 11: View Page Activato...
Leatherman micra.
Small CRKT pocketknife (don't even know the model now)
Fenix L1D (sometimes I swap it for my Nitecore D10)
iPhone 4.
Various and sundry handguns, when legally possible. Usually at least a Glock 19.
I also sometimes carry a tiny container of dental floss. I hate it when restaurants don't carry toothpicks.
What's On Your Utility Belt?
Like any self-respecting geek, I'm mostly an indoor enthusiast. But on those unfortunate occasions when I am compelled -- for reasons entirely beyond my control -- to leave the house, I do so fully armed with my crucial utility belt items. Yes, you heard me, I transform from the geeky Bruce Wa...
Nickaceves is now following The Typepad Team
Aug 13, 2010
Subscribe to Nickaceves’s Recent Activity
