I'm trying to write a simple page with form in an ASP.NET Core 7 web app with Razor pages. I'm facing a problem while reloading that page.
The previous submission is happening again while reloading. How to prevent form submission while page reload in Razor pages (not MVC)?
In "classic" ASP.NET, I as able to use the IsPostback property to prevent these issues, but in Razor pages, I am unable to use it.