How do I connect the various pieces of my Web API Castle Windsor DI code?

后端 未结 3 1721
离开以前
离开以前 2021-01-13 23:55

How do I connect the various pieces of my Web API Castle Windsor DI code so that the Controller\'s routing selects the correct interface implementation?

Note

3条回答
  •  爱一瞬间的悲伤
    2021-01-14 00:51

    In answer to my own question, I would simply say: There are no shortcakes! Without stopping go or further ado, go here and get this book. Resign yourself to take the time necessary to read it carefully.

    So I'm not the only one; here's a quote from Jeff Beck, who wrote that book's foreword: "Often those who start using DI quickly find themselves lost in a sea of confusion."

提交回复
热议问题