How to use Windsor IoC in ASP.net Core 2

前端 未结 4 1094
甜味超标
甜味超标 2021-01-31 19:00

How can I use Castle Windsor as an IOC instead of the default .net core IOC container?

I have built a service resolver that depends on WindsorContainer to r

4条回答
  •  庸人自扰
    2021-01-31 19:20

    There is an official Castle Windsor support for ASP.NET Core which has been released as version 5 (get it from nuget Castle.Windsor, Castle.Facilities.AspNetCore). The documentation how to use it is here.

    More info in the related issues here and here

提交回复
热议问题