Beloved reader:
This update is mainly the 4th chapter, which adds the 〈asp.net MVC DI use case section, which contains four episodes, which cover icontrollerfactory and Idependencyresolver, as well as the use of unity containers and unity . Basic usage of the MVC5 kit. The sample programs are also spread to Github. (MVC 5.x is available in this chapter and in the example)
This revision, the 4th chapter has been increased to 40 pages, beyond my original set of expectations: Each chapter is about 30 pages, more good digestion. A quick look at the structure of the hierarchy seems to occupy too much of the game, I would like to cut the structure of the part of a section, but the final is still not, have to pause and the knife left the text. After the day, the rest of the chapters will be roughly set and then back to the end.
The 5th chapter is a simple introduction to the Web API, there is more space to ink on the back of the pipeline process, is slightly Praya the 4th chapter on the MVC 5 pipe structure Description is not ready to complete the regret. After all, the two are very similar in their design to support DI, and the observations are interoperable. On the other hand, I think sometimes it can be confusing, for example, there are idependencyresolver on both sides, different naming spaces.
I think the 4th chapter will be a little thinner, and there will be no big changes in the content. In the 5th chapter, it is possible to add one or two additional examples to the situation, and there will be no change in the existing structure.
As for the 6th chapter, which is still blank, I have some ideas that will be the next heavy point to stay up late .... Orz
By the way, "dependency injection" may be changed to "Reliance Injection", and I consultation a few. NET experts to support the "dependency injection" of votes more, but supporters will not be "dependent" too cold. On the other hand, I also received a message from my friend, hoping to be able to maintain it. Since there are readers who do not want to change to "dependency injection", and this book has been published and completed about 70%, plus the fact that most of my books are simply written as di,"Dependency Injection" the number is not much, then, I think the best decision is to maintain the status. "
Thank you for your friends!
To the author of the Vulgar self-disturb.
(The book Price has quietly coleman a bit ... Greedy, XD)