How can I incorporate this Castle Windsor DI code into my Controller and Repository code?

前端 未结 1 1357
梦谈多话
梦谈多话 2020-12-21 22:16

Note: I can\'t bountify this question yet (it\'s too new), but I will reward a good answer with 50 points, and a great answer with 100 (when possible).

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-21 22:33

    You can simply use WebApiContrib.IoC.CastleWindsor (Nuget).

    This test should give you an idea of how to use it.

    0 讨论(0)
提交回复
热议问题