O'Reilly logo

Mastering Ninject for Dependency Injection by Daniel Baharestani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Ninject in Action

This chapter shows how to set up different types of applications using Ninject. We will implement a concrete scenario using a variety of application types to see how to set up and use Ninject for injecting the dependencies. By the end of this chapter, the user will be able to set up and use Ninject for all kinds of described applications.

Topics covered:

  • Windows Forms applications
  • WPF and Silverlight applications
  • ASP.NET MVC applications
  • WCF applications
  • ASP.NET Web Forms applications

Although how Ninject helps us inject dependencies into our application components is the same across different types of applications, setting these applications up varies according to their architectures. Some new frameworks such as ASP .NET ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required