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 Add support for areas to Razor Pages 2017-12-19 15:03:05 -08:00
CustomActionResult.cs
DefaultNamespace.cshtml
HandlerTestPage.cshtml
HelloWorld.cshtml
HelloWorldWithAuth.cshtml
HelloWorldWithHandler.cshtml
HelloWorldWithPageModelAttributeModel.cs Add support for BadRequest in RazorPages (#7097) 2017-12-01 12:03:24 -08:00
HelloWorldWithPageModelAttributeModel.cshtml Define semantics for pagemodels 2017-06-29 09:24:57 -07:00
HelloWorldWithPageModelHandler.cs Add support for BadRequest in RazorPages (#7097) 2017-12-01 12:03:24 -08:00
HelloWorldWithPageModelHandler.cshtml
HelloWorldWithRoute.cshtml
InjectedPageProperties.cshtml
ModelAsFilter.cs Provide a way within the Page/PageModel to run code before any handler runs 2017-09-22 09:25:22 -07:00
ModelAsFilter.cshtml Provide a way within the Page/PageModel to run code before any handler runs 2017-09-22 09:25:22 -07:00
ModelHandlerTestModel.cs
ModelHandlerTestPage.cshtml
ModelWithAuthFilter.cs Add support for specifying filters on page models. 2017-06-28 14:43:02 -07:00
ModelWithAuthFilter.cshtml Add support for specifying filters on page models. 2017-06-28 14:43:02 -07:00
ModelWithPageFilter.cs Add support for BadRequest in RazorPages (#7097) 2017-12-01 12:03:24 -08:00
ModelWithPageFilter.cshtml Add support for specifying filters on page models. 2017-06-28 14:43:02 -07:00
ModelWithResponseCache.cs Add support for ResponseCache in Razor Pages 2017-08-18 16:25:40 -07:00
ModelWithResponseCache.cshtml Add support for ResponseCache in Razor Pages 2017-08-18 16:25:40 -07:00
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 Update samples and tests to target netcoreapp2.1 2017-11-13 14:58:40 -08:00
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 Add support for areas to Razor Pages 2017-12-19 15:03:05 -08:00
readme.md

readme.md

RazorPagesWebSite

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