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 [Fixes #6117] Added RedirectToPage overloads to Controller 2017-04-21 12:19:35 -07:00
Models Support model binding to Razor Pages properties on page and PageModel classes 2017-03-24 07:45:19 -07:00
Pages Fix asp-page-handler to generate form tags correctly. 2017-04-27 10:32:04 -07:00
Services Use RazorPagesOptions.RootDirectory when looking for page hierarchies. 2017-03-14 18:56:50 -07:00
TempData Rename View() to Page() 2017-04-27 09:27:14 -07:00
Views/Shared Implement view search for pages 2017-04-18 16:11:24 -07:00
CustomActionResult.cs Add handler functional test 2017-03-20 10:05:29 -07:00
DefaultNamespace.cshtml Adding functional tests for @namespace 2017-04-14 14:47:29 -07:00
HandlerTestPage.cshtml Rename View() to Page() 2017-04-27 09:27:14 -07:00
HelloWorld.cshtml
HelloWorldWithAuth.cshtml
HelloWorldWithHandler.cshtml
HelloWorldWithPageModelHandler.cs Add tests for PageActionInvokerProvider (#5882) 2017-03-09 16:19:20 -08:00
HelloWorldWithPageModelHandler.cshtml Make test of @page/@model whitespace 2017-03-20 10:36:58 -07:00
HelloWorldWithRoute.cshtml
InjectedPageProperties.cshtml Add properties to Page and PageModel 2017-03-28 13:26:38 -07:00
Login.cshtml
ModelHandlerTestModel.cs Rename View() to Page() 2017-04-27 09:27:14 -07:00
ModelHandlerTestPage.cshtml Rename form-action -> handler 2017-04-24 14:15:35 -07:00
NoPage.cshtml
OnGetView.cshtml Rename View() to Page() 2017-04-27 09:27:14 -07:00
PageWithoutContent.cshtml
PathSet.cshtml
Program.cs
RazorPagesWebSite.csproj Remove net451 as a cross-compile target 2017-03-22 06:32:50 -07:00
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 Add InvalidTagHelperIndexerAssignment to RazorPageBase 2017-03-14 10:04:15 -07:00
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 Fix warning as error 2017-03-14 12:44:57 -07:00
_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.