Summary
Windows Forms application supports all DI patterns, because it offers a single startup location in the Main method and gives us the freedom of instantiating all classes ourselves. WPF and Silverlight applications are friendly to MVVM pattern, and they support all DI patterns as well. ASP.NET MVC is a DI-friendly framework, and although the creation of framework components (for example, Controllers) are up to the framework factories, it allows to replace them with Ninject factories which support injectable components. Ninject.Web.MVC extension contains ASP.NET MVC injection facilities of Ninject. WCF is the other web platform which supports all DI patterns because of its high extensibility and configurability. It can be configured to use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access