blazor-samples
blazor-samples copied to clipboard
**Describe the issue** From what I've read, using `HttpContext` and `HttpContextAccessor` via Dependency Injection with Blazor Interactive Server is inadvisable, as the `HttpContext` used when serving HTML is not the...
NOTE TO SELF! 📣👂 --- #### Issue Details ⚠ *Do not edit this section. It is required for issue processing.* * Content Source: [dotnet/blazor-samples](https://github.com/dotnet/blazor-samples) * GitHub Login: @guardrex
We'll need to get approval for this and have the docs management set it up. Enabling it myself ended up generating an internal policy violation. https://github.com/dotnet/blazor-samples/pull/242
**Describe the issue** If you open 2 tabs, and sign out in 1 tab, the other tab remains signed in until you refresh the browser. **To Reproduce** Steps to reproduce...
Although they came in at 8.0 (C# 12), I'll probably adopt at 10.0. --- #### Issue Details ⚠ *Do not edit this section. It is required for issue processing.* *...
Resolve the API code duplication in the `BlazorWebAppCallWebApi` sample app as called out by @davisnw in https://github.com/dotnet/AspNetCore.Docs/issues/34586. I don't think any updates will be required in [the article](https://learn.microsoft.com/en-us/aspnet/core/blazor/call-web-api?view=aspnetcore-9.0), but I'll...
**Describe the issue** The sample is outdated and needs to be updated to .NET 10 AND to use the new features/conventions of .NET 10. **To Reproduce** 1. Look at the...
This pull request introduces several improvements and updates across the shared and web components of the MauiBlazorWeb project. The most significant changes include upgrading the target framework and package versions...
We might want a bit more error trapping ... https://github.com/dotnet/blazor-samples/blob/main/9.0/BlazorWebAppEntraBff/BlazorWebAppEntra/Program.cs#L153-L155 @halter73 @mikekistler Does adding [`ReplyForbiddenWithWwwAuthenticateHeaderAsync`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.web.itokenacquisition.replyforbiddenwithwwwauthenticateheaderasync?view=msal-model-dotnet-latest) trapping on [`MicrosoftIdentityWebChallengeUserException`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.web.microsoftidentitywebchallengeuserexception.msaluirequiredexception) and [`MsalUiRequiredException`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.web.microsoftidentitywebchallengeuserexception.msaluirequiredexception?view=msal-model-dotnet-latest) make sense to roll into ☝️ of the Entra BFF...
Per https://github.com/dotnet/AspNetCore.Docs/pull/35943#discussion_r2325578728. After the sample goes up, create an issue and add guidance to the two passkeys articles to surface it in the articles. --- #### Issue Details ⚠ *Do...