G
✅ Razor pages, not reaching OnPost method
I have made a <form method="post"> and within it i have a <button type="submit" >.
when i click on the button while debugging, the cshtml.cs uses the OnGet method. I have tried to assign a named handler to the button and adding the suffix the the onPost method and that does not work. I've looked up others same issues and mine looks fine but i must be messing something else up.
Could I get a hand please, perhaps a look over?
95 replies
❔ ✅ portfolio guidance
Hello, I want to preface by saying I am fairly new, I haven't launched anything yet but i am committed to this. Please be gentle 😅 I want to make a portfolio to showcase potential projects using Blazor but I don't know how to.
Can y'all help me out by directing me to where I might find more information or examples. If you have any resources or links send them at me. I'm open to some guidance and tips on the topic as well.
I've came across videos with different frameworks on making a portfolio but I haven't seen any using blazor, and it's pretty overwhelming with all the information as a newb.
thanks in advance, cheers
6 replies