官术网_书友最值得收藏!

Chapter 1. Understanding Dependency Injection

"It's more about a way of thinking and designing code than it is about tools and techniques"

– Mark Seemann

This chapter introduces the Dependency Injection (DI) concepts and describes the advantages of using this pattern. We will also go through a simple example and implement the principles and patterns related to the DI technique to it. After understanding what a DI container is, we will discuss why Ninject is a suitable one.

By the end of this chapter, the reader is expected to have a good understanding of DI and how Ninject can help them as a DI container.

The topics covered in this chapter are:

  • What is Dependency Injection?
  • How can DI help?
  • My first DI application
  • DI Containers
  • Why use Ninject?
主站蜘蛛池模板: 江达县| 井研县| 平罗县| 桓仁| 大埔县| 呼伦贝尔市| 洛川县| 唐山市| 鄂州市| 乌苏市| 体育| 青冈县| 商城县| 丰顺县| 兴义市| 安远县| 宜良县| 太白县| 云林县| 河间市| 军事| 云林县| 田林县| 沈丘县| 晋中市| 同德县| 万宁市| 聂拉木县| 绵阳市| 利川市| 鹤壁市| 白城市| 健康| 兴宁市| 绥棱县| 沙坪坝区| 通许县| 无极县| 长乐市| 皮山县| 杨浦区|