2 instantiations of FromBody
Aspire.Dashboard (2)
DashboardEndpointsBuilder.cs (2)
29
builder = endpoints.MapPost("/api/validatetoken", async ([
FromBody
] ValidateTokenRequest request, HttpContext httpContext, IOptionsMonitor<DashboardOptions> dashboardOptions) =>
112
group.MapPost("/validateToken", ([
FromBody
] TelemetryValidateTokenRequest request, IOptionsMonitor<DashboardOptions> optionsMonitor) =>
3 references to FromBody
Microsoft.AspNetCore.Mvc.Core (3)
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
100
nameof(
FromBodyAttribute
));
MvcOptions.cs (2)
65
/// action method parameter with <see cref="
FromBodyAttribute
"/>) should treat empty
70
/// using <see cref="
FromBodyAttribute
"/>) will register an error in the