Skip to content

Instantly share code, notes, and snippets.

@scottaddie
Created March 3, 2018 16:47
Show Gist options
  • Save scottaddie/bb272fb4766805f6c8d051c8e5f9ee96 to your computer and use it in GitHub Desktop.
Save scottaddie/bb272fb4766805f6c8d051c8e5f9ee96 to your computer and use it in GitHub Desktop.
Index Razor Page CSHTML file in an ASP.NET Core 2.x app
<form method="post">
<button asp-page="/Index" asp-page-handler="Post">Submit Form</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment