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 Fix [TempData] for PageModel's 2017-04-11 16:45:44 -07:00
Views/Shared Implement view search for pages 2017-04-18 16:11:24 -07:00
CustomActionResult.cs
DefaultNamespace.cshtml Adding functional tests for @namespace 2017-04-14 14:47:29 -07:00
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 Add properties to Page and PageModel 2017-03-28 13:26:38 -07:00
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 Add functional tests for RazorPage routes 2017-04-04 11:14:52 -07:00
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 Implement view search for pages 2017-04-18 16:11:24 -07:00
readme.md

readme.md

RazorPagesWebSite

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