Skip to content
Discussion options

You must be logged in to vote

In a Blazor runtime the IContextManager implementation does require the ApplicationContextManager service, because that's what has the API to get at the current user.

And the ApplicationContext service requires/contains an IContextManager, to get at the per-runtime behavior for accessing the current user (and other per-platform things).

And a lot of things, including the client-side data portal, make use of ApplicationContext, because that's the app state and also the way to get at the user identity, and much more.

I suspect the easiest way to break the cycle is to have AppClaimsPrincipalFactory ask for the current service provider, and then you can use that service provider to call GetRe…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@saulyt
Comment options

Answer selected by saulyt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants