aspnetcore/test/WebSites/RazorPagesWebSite
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
..
Areas Add PageConvention overloads for areas 2018-01-18 08:21:21 -08:00
Controllers
…
Conventions Add DeclaredModelType to Razor pages 2018-01-25 16:00:54 -08:00
Models
…
Pages Add support for top level validation to Razor Pages 2018-02-14 14:39:25 -08:00
Services
…
TempData Make handler selector more flexible 2018-03-23 14:22:48 -07:00
Views/Shared
…
CustomActionResult.cs
…
DefaultNamespace.cshtml
…
HandlerTestPage.cshtml
…
HelloWorld.cshtml
…
HelloWorldWithAuth.cshtml
…
HelloWorldWithHandler.cshtml
…
HelloWorldWithPageModelAttributeModel.cs
…
HelloWorldWithPageModelAttributeModel.cshtml
…
HelloWorldWithPageModelHandler.cs
…
HelloWorldWithPageModelHandler.cshtml
…
HelloWorldWithRoute.cshtml
…
InjectedPageProperties.cshtml
…
ModelAsFilter.cs
…
ModelAsFilter.cshtml
…
ModelHandlerTestModel.cs
…
ModelHandlerTestPage.cshtml
…
ModelWithAuthFilter.cs
…
ModelWithAuthFilter.cshtml
…
ModelWithPageFilter.cs
…
ModelWithPageFilter.cshtml
…
ModelWithResponseCache.cs
…
ModelWithResponseCache.cshtml
…
NoPage.cshtml
…
OnGetView.cshtml
…
PageWithoutContent.cshtml
…
PathSet.cshtml
…
Program.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorPagesWebSite.csproj
…
RedirectToController.cshtml
…
RouteData.cshtml
…
Show.cshtml Fix issues with RazorCompileOnBuild=true being default 2018-03-09 14:39:18 -08:00
SimpleForms.cshtml
…
Startup.cs Make handler selector more flexible 2018-03-23 14:22:48 -07:00
StartupWithBasePath.cs Make handler selector more flexible 2018-03-23 14:22:48 -07:00
TagHelpers.cshtml
…
_Root.cshtml
…
_ViewStart.cshtml
…
readme.md
…

readme.md

RazorPagesWebSite

This web site is used for functional tests of the Razor Pages feature of MVC.