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 Ninject service host factories which are implemented in the Ninject.Extensions.WCF
library.
ASP.NET Web Forms does not fully support DI; however, it is possible to configure it in such a way to use some DI patterns. The Ninject.Web
extension contains...