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

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?
主站蜘蛛池模板: 内乡县| 德清县| 通榆县| 容城县| 铜川市| 濮阳县| 秦皇岛市| 宣汉县| 南陵县| 普格县| 马公市| 宜兴市| 枣阳市| 东乡族自治县| 金阳县| 塔城市| 婺源县| 灵山县| 资阳市| 舟曲县| 文水县| 奉贤区| 仙游县| 城步| 盐山县| 四子王旗| 肥西县| 文水县| 河北省| 阿尔山市| 长子县| 娄烦县| 桐梓县| 聂拉木县| 天峨县| 福清市| 碌曲县| 阳朔县| 卫辉市| 阿克| 郁南县|