Hi @Bernhard S
You should add the Razor Page/Components in the Client project, instead of the Server project.
A hosted Blazor WebAssembly solution includes the following ASP.NET Core projects:
- "Client": The Blazor WebAssembly app.
- "Server": An app that serves the Blazor WebAssembly app and weather data to clients.
- "Shared": A project that maintains common classes, methods, and resources. You can check the Server project Program.cs file, it doesn't configure the Blazor routing for the Razor components, so the navigate not working.
For the server project authorization issue, you can also configure JWT Authentication on the server project.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion