Skip to content
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

Blazor WASM w/Identity article 8.0 #30957

Merged
merged 4 commits into from
Nov 9, 2023
Merged

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Nov 7, 2023

Fixes #30944
Addresses #28161

I'm going VERY fast πŸƒβ€β™‚οΈ right now to get this in. I'm just about out-of-πŸ•¦ on getting everything into place 😰. This should be enough to get us started. I'll take another look for improvements in 24Q1.

The sample is at ...

https://github.com/dotnet/blazor-samples/tree/main/8.0/BlazorWebAssemblyStandaloneWithIdentity

The reason you were having trouble getting the Bootstrap icons in place via only a stylesheet class on the <span> elements is that the classes must be manually placed in (usually collocated) stylesheets (MainLayout.razor.css). I changed the icons to the opening door (login), closed+filled door (logout), and pencil+square (register). With a little bit of vertical alignment ✨, it looks good.

You shouldn't need to keep up with this samp (or the EF Core one) for future releases. I'll take care of updating them each release. Do let me know tho if the πŸ§€ moves in the security bits over time.

image

image


Internal previews

πŸ“„ File πŸ”— Preview link
aspnetcore/blazor/security/webassembly/standalone-with-identity.md aspnetcore/blazor/security/webassembly/standalone-with-identity

@guardrex guardrex merged commit ce0667a into main Nov 9, 2023
2 checks passed
@guardrex guardrex deleted the guardrex/blazor-standalone-wasm-auth branch November 9, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Standalone Blazor WebAssembly with Identity article 8.0
1 participant