Chapter 18. Dependency injection and extensibility
- Building custom controller factories
- Dependency injection with controllers
- Using the dependency resolver with StructureMap
- A survey of extension points
Knowing how to build maintainable software is important. Probably the vast majority of enterprise systems spend more time in the maintenance period of their lifecycle than their initial development. For example, imagine you’re developing a financial system that’s going to be in use for the next five years. It may take six months or a year to initially develop, but once it’s in use by the customer, it’ll enter an ongoing maintenance phase for the rest of its lifetime.
During this time, it’ll probably be necessary to ...