42 references to Post
BasicWebSite (6)
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Areas_Area1_Views_RemoteAttribute_Home_Create_cshtml.g.cs (1)
82using (Html.BeginForm(FormMethod.Post, htmlAttributes: null, antiforgery: false))
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Antiforgery_AntiforgeryTokenAndResponseCaching_cshtml.g.cs (1)
49using (Html.BeginForm("Login", "Antiforgery", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Antiforgery_FlushAsyncLogin_cshtml.g.cs (1)
60using (Html.BeginForm("FlushAsyncLogin", "Antiforgery", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Antiforgery_Login_cshtml.g.cs (2)
57using (Html.BeginForm("Login", "Antiforgery", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) 164using (Html.BeginForm("UseFacebookLogin", "Antiforgery", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_RemoteAttribute_Home_Create_cshtml.g.cs (1)
82using (Html.BeginForm(FormMethod.Post, htmlAttributes: null, antiforgery: false))
Microsoft.AspNetCore.Mvc.TagHelpers.Test (3)
FormTagHelperTest.cs (3)
370[InlineData(null, FormMethod.Post, "<input />")] 371[InlineData(true, FormMethod.Post, "<input />")] 372[InlineData(false, FormMethod.Post, "")]
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
HtmlHelper.cs (1)
647case FormMethod.Post:
Rendering\HtmlHelperFormExtensions.cs (10)
31method: FormMethod.Post, 61method: FormMethod.Post, 190method: FormMethod.Post, 219method: FormMethod.Post, 256FormMethod.Post, 393method: FormMethod.Post, 428method: FormMethod.Post, 452method: FormMethod.Post, 481method: FormMethod.Post, 515FormMethod.Post,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (20)
Rendering\HtmlHelperFormExtensionsTest.cs (1)
27FormMethod.Post,
Rendering\HtmlHelperFormTest.cs (18)
34"Details", "Product", null, FormMethod.Post, null 40"Details", "Product", new { isprint = "false", showreviews = "true" }, FormMethod.Post, null 47"Details", "Product", new { isprint = "true", showreviews = "true" }, FormMethod.Post, 59FormMethod.Post, 77null, null, FormMethod.Post, null 83"default", null, FormMethod.Post, null 89"default", new { isprint = "false", showreviews = "true" }, FormMethod.Post, null 96"default", new { isprint = "true", showreviews = "true" }, FormMethod.Post, 108FormMethod.Post, 148method: FormMethod.Post, 198method: FormMethod.Post, 432using (var form = htmlHelper.BeginForm(FormMethod.Post, antiforgery: null, htmlAttributes: null)) 471using (var form = htmlHelper.BeginForm(FormMethod.Post, antiforgery: false, htmlAttributes: null)) 520[InlineData(FormMethod.Post)] 588using (var form = htmlHelper.BeginForm(FormMethod.Post, antiforgery: false, htmlAttributes: null)) 668method: FormMethod.Post, 711method: FormMethod.Post, 766[InlineData(FormMethod.Post)]
Rendering\HtmlHelperTest.cs (1)
381[InlineData(FormMethod.Post, "post")]
MvcFormSample (2)
artifacts\obj\MvcFormSample\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Home_Index_cshtml.g.cs (1)
58using (@Html.BeginForm("Index", "Home", routeValues: null, method: FormMethod.Post, antiforgery: ViewBag.Antiforgery, htmlAttributes: null))
artifacts\obj\MvcFormSample\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Home_Index2_cshtml.g.cs (1)
58using (@Html.BeginForm("Index2", "Home", routeValues: null, method: FormMethod.Post, antiforgery: ViewBag.Antiforgery, htmlAttributes: null))