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)
82
using (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)
49
using (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)
60
using (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)
57
using (Html.BeginForm("Login", "Antiforgery", FormMethod.
Post
, new { @class = "form-horizontal", role = "form" }))
164
using (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)
82
using (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)
647
case FormMethod.
Post
:
Rendering\HtmlHelperFormExtensions.cs (10)
31
method: FormMethod.
Post
,
61
method: FormMethod.
Post
,
190
method: FormMethod.
Post
,
219
method: FormMethod.
Post
,
256
FormMethod.
Post
,
393
method: FormMethod.
Post
,
428
method: FormMethod.
Post
,
452
method: FormMethod.
Post
,
481
method: FormMethod.
Post
,
515
FormMethod.
Post
,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (20)
Rendering\HtmlHelperFormExtensionsTest.cs (1)
27
FormMethod.
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
,
59
FormMethod.
Post
,
77
null, 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
,
108
FormMethod.
Post
,
148
method: FormMethod.
Post
,
198
method: FormMethod.
Post
,
432
using (var form = htmlHelper.BeginForm(FormMethod.
Post
, antiforgery: null, htmlAttributes: null))
471
using (var form = htmlHelper.BeginForm(FormMethod.
Post
, antiforgery: false, htmlAttributes: null))
520
[InlineData(FormMethod.
Post
)]
588
using (var form = htmlHelper.BeginForm(FormMethod.
Post
, antiforgery: false, htmlAttributes: null))
668
method: FormMethod.
Post
,
711
method: 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)
58
using (@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)
58
using (@Html.BeginForm("Index2", "Home", routeValues: null, method: FormMethod.
Post
, antiforgery: ViewBag.Antiforgery, htmlAttributes: null))