Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor - Navigate to razor page from Controller

$
0
0

I am using Blazor and I have an instance where I need to redirect the user to an external site which I pass them a URL to return to.

The URL they return to, they want to POST the data back into my application so I have created an ApiController in the blazor application and the data is coming back into there fine, but is there a way I can now use the NavigationManager or something like that to redirect the user?

NOTE: Blazor doesn't handle POST Requests to .razor pages, only GET, hence why I have to implement the ApiController.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>