- Mastering Ninject for Dependency Injection
- Daniel Baharestani
- 131字
- 2021-08-04 10:12:02
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?
推薦閱讀
- Hands-On Data Structures and Algorithms with Rust
- 數(shù)據(jù)挖掘原理與實踐
- Game Development with Swift
- 工業(yè)大數(shù)據(jù)分析算法實戰(zhàn)
- 醫(yī)療大數(shù)據(jù)挖掘與可視化
- 區(qū)塊鏈通俗讀本
- Mockito Cookbook
- Python數(shù)據(jù)分析:基于Plotly的動態(tài)可視化繪圖
- 數(shù)據(jù)驅(qū)動設(shè)計:A/B測試提升用戶體驗
- Oracle RAC日記
- HikariCP連接池實戰(zhàn)
- Hadoop集群與安全
- MySQL技術(shù)內(nèi)幕:SQL編程
- 大數(shù)據(jù)分析:數(shù)據(jù)倉庫項目實戰(zhàn)
- 大數(shù)據(jù)數(shù)學(xué)基礎(chǔ)(Python語言描述)