Setting IContextManager in Csla 9 #4760
Unanswered
ajohnstone-ks
asked this question in
Questions
Replies: 1 comment 3 replies
-
|
It got removed with #4146. Maybe @rockfordlhotka can tell why this change was made.
Anything related to DI matters with the order of registration. So the last registration always wins. Tbh it's the only way I know how to tweak some libraries out there. But yeah maybe we can bring that back. 🤔 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Migrating from Csla 8 to 9, it seems like the ability to set the IContextManager via Csla's configuration is gone, and the
.AddConsoleApp(),.AddXaml()etc configure it now with no way to override.Did I miss where I can set it via the configuration? I know I can just do it myself with
services.AddSingleton<IContextManager>, but in order to figure out how to override it I had to dig into the Csla code, so it would be nicer if it was overridable directly on the configuration as that's more obvious.Beta Was this translation helpful? Give feedback.
All reactions