Skip to content

[Blazor] First class integration with HttpClientFactory #59440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
javiercn opened this issue Dec 11, 2024 · 2 comments
Open

[Blazor] First class integration with HttpClientFactory #59440

javiercn opened this issue Dec 11, 2024 · 2 comments
Labels
area-blazor Includes: Blazor, Razor Components Priority:1 Work that is critical for the release, but we could probably ship without
Milestone

Comments

@javiercn
Copy link
Member

The other major challenge here is with regards to how AuthenticationService interoperates with other parts of the user app, like scoped services in their own "sub-scope". This is relevant when users are leveraging things like Entity Framework for which we recommend using owning component scope as well as other libraries like HttpClientFactory that create their own scopes. In these cases, users are not able to access the current authenticated user within those services or any information associated with the circuit. The challenge here involves "being able" to have a "per circuit" scope that flows to any "nested scope".

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Dec 11, 2024
@javiercn javiercn added this to the .NET 10 Planning milestone Dec 12, 2024
@javiercn
Copy link
Member Author

Related issue #52379

@danroth27
Copy link
Member

We hope to investigate this in the .NET 10 timeframe and make a preview package available, but we don't expect this land in a stable form for .NET 10.

@danroth27 danroth27 modified the milestones: .NET 10 Planning, Backlog Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components Priority:1 Work that is critical for the release, but we could probably ship without
Projects
None yet
Development

No branches or pull requests

2 participants