© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
8 replies
Messiah

❔ Razor pages redirect

How do you make a form redirect to a page, and pass a value to it?

My entire application is routed as such: "www.site.com/thepage/thequery". How do I get data from the form and pass to the page it, with the query?

I can't get it to work without with the url formatted like that
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ How to properly redirect in Razor Pages?
C#CC# / help
4y ago
❔ Razor pages view
C#CC# / help
4y ago
MVC vs Razor Pages
C#CC# / help
13mo ago
Razor Pages Authentication issues
C#CC# / help
15mo ago