© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
12 replies
stayclaxxy

MVC w/ Razor View - Form POST

Hi All, I am trying to wrap my head around MVC in Razor pages, as I inherited some legacy stuff at work. I am trying to figure out why when I click my "submit" button on my Razor page, a blank page renders, and my breakpoint in my controller method for the post is never hit. What am I doing wrong?

Relevant code:
https://i.imgur.com/aUtf6YA.png
Imgur
Preview image
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Razor MVC
C#CC# / help
3y ago
MVC vs Razor Pages
C#CC# / help
13mo ago
Razor MVC UI reuse
C#CC# / help
3y ago
❔ Razor pages view
C#CC# / help
4y ago