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

Create WebAssembly project #8

Merged
merged 9 commits into from
Jan 8, 2025
Merged

Create WebAssembly project #8

merged 9 commits into from
Jan 8, 2025

Conversation

mitch-b
Copy link
Owner

@mitch-b mitch-b commented Jan 8, 2025

Instead of just Blazor Server, introduce client-side web assembly rendering project.

⚠️ Right now, using the .AddApiAuthorization() in the Blazor Client project causes a runtime invalid cast failure that I can't find a way to work around. This is introduced via any injected page dependency which relies on an HttpClient which is also bootstrapped in the Program.cs. Need to do more troubleshooting here, unsure next steps and I've already spent more time on this than I had anticipated.

Edit: later commit removed noise, project working as I assumed it should have! Removed .AddApiAuthorization() because I think this conflicts with .AddAuthenticationStateDeserialization()

@mitch-b mitch-b merged commit 333e21a into main Jan 8, 2025
1 check passed
@mitch-b mitch-b deleted the feature/wasm branch January 8, 2025 04:50
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.

1 participant