aspnetcore/test/WebSites/RazorPagesWebSite
N. Taylor Mullen 8bece90c83 Fix asp-page-handler to generate form tags correctly.
- Prior to this change using asp-page-handler on its own did not create correct `<form>` elements. There were multiple issues, one as that the `FormTagHelper` would purposefully drop into a no-op code path. Second is the `DefaultHtmlGenerator` didn't call through to the `UrlHelper` correctly.
- Added functional test cases to validate asp-page-handler can live on its own on a form tag. This also included adding a variant where method="post".
- Added a `FormTagHelper` unit test to validate the `PageHandler` property is consumed properly.

#6208
2017-04-27 10:32:04 -07:00
..
Controllers
Models
Pages Fix asp-page-handler to generate form tags correctly. 2017-04-27 10:32:04 -07:00
Services
TempData Rename View() to Page() 2017-04-27 09:27:14 -07:00
Views/Shared
CustomActionResult.cs
DefaultNamespace.cshtml
HandlerTestPage.cshtml Rename View() to Page() 2017-04-27 09:27:14 -07:00
HelloWorld.cshtml
HelloWorldWithAuth.cshtml
HelloWorldWithHandler.cshtml
HelloWorldWithPageModelHandler.cs
HelloWorldWithPageModelHandler.cshtml
HelloWorldWithRoute.cshtml
InjectedPageProperties.cshtml
Login.cshtml
ModelHandlerTestModel.cs Rename View() to Page() 2017-04-27 09:27:14 -07:00
ModelHandlerTestPage.cshtml
NoPage.cshtml
OnGetView.cshtml Rename View() to Page() 2017-04-27 09:27:14 -07:00
PageWithoutContent.cshtml
PathSet.cshtml
Program.cs
RazorPagesWebSite.csproj
RedirectToController.cshtml
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.