30 references to Ok
AzureFunctionsEndToEnd.ApiService (3)
BasicWebSite (1)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.Http.Results.Tests (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
Microsoft.AspNetCore.OpenApi.Tests (1)
MilvusPlayground.ApiService (1)
MinimalFormSample (2)
MySql.ApiService (1)
Nats.ApiService (2)
RateLimitingSample (2)
Sample (7)
Program.cs (7)
57forms.MapPost("/form-file", (IFormFile resume) => Results.Ok(resume.FileName));
58forms.MapPost("/form-files", (IFormFileCollection files) => Results.Ok(files.Count));
59forms.MapPost("/form-file-multiple", (IFormFile resume, IFormFileCollection files) => Results.Ok(files.Count + resume.FileName));
64forms.MapPost("/form-todo", ([FromForm] Todo todo) => Results.Ok(todo));
65forms.MapPost("/forms-pocos-and-files", ([FromForm] Todo todo, IFormFile file) => Results.Ok(new { Todo = todo, File = file.FileName }));
103schemas.MapGet("/iresult-no-produces", () => Results.Ok(new Triangle { Color = "red", Sides = 3, Hypotenuse = 5.0 }));
104schemas.MapGet("/iresult-with-produces", () => Results.Ok(new Triangle { Color = "red", Sides = 3, Hypotenuse = 5.0 }))
SimpleWebSiteWithWebApplicationBuilder (2)
TestProject.IntegrationServiceA (3)