Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Windsor integration/futures and ASP.NET Core has already a built-in dependency injection system #8683


User avatar
0
richardghubert created

Hi, here is a FAQ regarding the new AspNetZero on .NET-Core-3.1 (great! we us it.).

https://aspnetboilerplate.com/Pages/Documents/v1.0.0.0/Dependency-Injection#asp-net-core-integration

ASP.NET Core Integration ASP.NET Core has already a built-in dependency injection system with Microsoft.Extensions.DependencyInjection package. ABP uses Castle.Windsor.MsDependencyInjection package to integrate it's dependency injection system with ASP.NET Core's. So, you don't have to think about it.

What are the caveats or plans here, since Windsor does not appear in the list of "supported" .NET-Core-3 IoC containers:

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-3.1#default-service-container-replacement

Thanks for any infos/futures.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    https://github.com/volosoft/castle-windsor-ms-adapter

    This library is a Castle Windsor adapter for Microsoft.Extensions.DependencyInjection nuget package. It works for ASP.NET Core and other type of applications.

    https://github.com/aspnetboilerplate/aspnetboilerplate/pull/5331

    So, you don't have to think about it. : )