- ABP Framework version: v5.1.2
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): Microservice Template (Blazor WASM)
- Exception message and stack trace:
- Steps to reproduce the issue:"
I have read all the threads (and posted my own) on redirecting to login (or separate landing page) when the application starts but there does not seem to be a straight forward answer that does not have the issue of the index page first showing then redirecting to login. So, my question is... has anyone been able to find a solution for having the Blazor WASM application go directly to a login page (or landing page) without having the index page first flash up as it is redirecting?
5 Answer(s)
-
0
-
0
Thank you for the response, but this has the same issue as the other threads on this topic. The index page is displayed prior to going to the login page. I need a solution that does not display the index page first.
-
0
hi
This seems to be an unrelated issue with ABP. We can only search for blazor's solution.
-
0
I am a bit unclear on your response. Are you saying this is not an ABP issue? If so, I am struggling with that since you control the main layout. From strictly a Blazor solution all I would need to do is move the @page "/" to the page I want to startup. If I do this within ABP it does startup with the correct page but as a component of the overall layout. I need it to be its own page and not display any of the application layout.
-
0
hi
You can try to do this using Microsoft's official blazor template.