aspnetcore/test/WebSites/RazorPagesWebSite
N. Taylor Mullen f165914b40 Update how `FormTagHelper` handles `get` method attributes.
- Added functional test to verify `asp-*` attributes on form taghelpers work as expected.
- Added a unit test to validate `FormTagHelper` behaves as expected.
- Moved `Method == "get"` checks into appropriate code paths. These include the one where a user specifies an empty or non-existent `action` attribute and where a user doesn't utilize any `asp-*` attributes. In the later, we default `Method` to `"get"` if it's not provided.

#6006
2017-04-25 15:17:15 -07:00
..
Controllers [Fixes #6117] Added RedirectToPage overloads to Controller 2017-04-21 12:19:35 -07:00
Models
Pages ./ paths relative on page. 2017-04-25 11:57:58 -07:00
Services
TempData
Views/Shared
CustomActionResult.cs
DefaultNamespace.cshtml
HandlerTestPage.cshtml Rename form-action -> handler 2017-04-24 14:15:35 -07:00
HelloWorld.cshtml
HelloWorldWithAuth.cshtml
HelloWorldWithHandler.cshtml
HelloWorldWithPageModelHandler.cs
HelloWorldWithPageModelHandler.cshtml
HelloWorldWithRoute.cshtml
InjectedPageProperties.cshtml
Login.cshtml
ModelHandlerTestModel.cs
ModelHandlerTestPage.cshtml Rename form-action -> handler 2017-04-24 14:15:35 -07:00
NoPage.cshtml
OnGetView.cshtml
PageWithoutContent.cshtml
PathSet.cshtml
Program.cs
RazorPagesWebSite.csproj
RedirectToController.cshtml [Fixes #6117] Added RedirectToPage overloads to Controller 2017-04-21 12:19:35 -07:00
RouteData.cshtml
Show.cshtml
SimpleForms.cshtml Update how `FormTagHelper` handles `get` method attributes. 2017-04-25 15:17:15 -07:00
Startup.cs Make /Pages the default root for pages. 2017-04-24 15:46:32 -07:00
StartupWithBasePath.cs Make /Pages the default root for pages. 2017-04-24 15:46:32 -07:00
TagHelpers.cshtml
_Root.cshtml
readme.md

readme.md

RazorPagesWebSite

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