Open ghost opened 6 years ago
Surely, we can retire this one once Castle officially support it :)
Heads up, we have a production ready facility here: https://github.com/castleproject/Windsor/pull/394
I seriously envy you gentleman for going through the pain you have done. You guys were also credited in the docs. What a crazy journey huh?
@generik0 also helped out. Thanks.
Thank you @fir3pho3nixx for your great effort and mentioning in the docs :)
Please see: https://github.com/danielpalme/IocPerformance/issues/81
We hope to address this soon.
Is this facility tied to asp.net core?
Reason I ask is that we (NServiceBus) is contemplating to use Microsoft.Extensions.DependencyInjection
as our DI abstraction but we can't take a dependency on any AspNet package since our endpoints can be hosted anywhere. Ie we can't rely on middleware etc.
Thoughts?
See dependencies:
So, it does not depend on any asp.net core package.
Sorry I was unclear, I meant https://github.com/castleproject/Windsor/blob/master/src/Castle.Facilities.AspNetCore/Castle.Facilities.AspNetCore.csproj
Ie that facility can't replace this project since it has a dependency on AspNetCore.
In short: It can't replace this project, at least for my purposes. Would that be correct?
Hmmm.. you are correct. Castle.Facilities.AspNetCore should be layered, so the lower layer should not depend on aspnet core.
We will not retire this project without see Castle's official packages does everything this package does, don't worry :)
Great, that was the answer I was looking for
This is the related issue in Castle Windsor, adding more generic support instead of depending on ASP.NET Core: https://github.com/castleproject/Windsor/issues/412
Since there is no progress in that, I wonder if this project will be updated to support Castle Windsor 5?
We have found a way that avoids "cross wiring" with automated provisioning of framework dependencies.
Please see: https://github.com/castleproject/Windsor/commit/fb7933087bb54eb15c9a9364b4335316d2936658
What do you think?