'Calling Razor pages from Blazor wasm
I have a Blazor wasm hosted app and it has three projects. Client, Server and Shared. When I scaffold identity pages, I can see Login.cshtml page in the server project. I have two questions:
- How does Blazor serve the Login.cshtml pages from the server project? I mean how is the routing defined and where?
- If I want to create my own cshtml page, can I do that? How will I call it from my wasm app?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
