aspnetcore/test/WebSites/RazorPagesWebSite/TempData
Ryan Nowak 14429721d9 Make handler selector more flexible
Some details of this pending discussion, but this is a new 2.1 change
and compatibility switch in the spirit of making pages handler selection
less error-prone.

In particular we don't want anyone to have to define HEAD to do the
trivial thing. This currently routes all 'safe' HTTP methods to the GET
handler and all other HTTP methods to the POST handler.

This is technically not the correct thing to do for OPTIONS and TRACE,
so we might still do something different.

The tests will change a little depending on exactly what we decide to
do, but this is the main idea of the change.
2018-03-23 14:22:48 -07:00
..
SetMessageAndRedirect.cshtml Make handler selector more flexible 2018-03-23 14:22:48 -07:00
SetTempDataOnPageAndRedirect.cshtml
SetTempDataOnPageModelAndRedirect.cs
SetTempDataOnPageModelAndRedirect.cshtml
ShowMessage.cshtml
TempDataPageModel.cs
TempDataPageModelProperty.cshtml Make handler selector more flexible 2018-03-23 14:22:48 -07:00