6 references to Problem
Microsoft.AspNetCore.Http.Results.Tests (4)
ResultsTests.cs (4)
1283var result = Results.Problem(detail, instance, statusCode, title, type, extensions) as ProblemHttpResult; 1307var result = Results.Problem(detail, instance, statusCode, title, type, extensions) as ProblemHttpResult; 1329var result = Results.Problem(statusCode: statusCode) as ProblemHttpResult; 1345var result = Results.Problem() as ProblemHttpResult;
MinimalSample (1)
Program.cs (1)
85"plain" => Results.Problem(statusCode: 500, extensions: extensions),
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
40app.MapGet("/problem", () => Results.Problem("Some problem"));