[New problem details service](https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-preview-7/#new-problem-details-service) - [x] Create sample middleware in https://github.com/dotnet/AspNetCore.Docs.Samples/tree/main/fundamentals/middleware from https://github.com/dotnet/AspNetCore.Docs.Samples/pull/25 Sample at https://github.com/dotnet/AspNetCore.Docs.Samples/tree/main/fundamentals/middleware/problem-details-service Also document #25107 --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: 3f6504cd-a059-c5d4-73fb-61222ef1c6e0 * Version Independent ID: 1b42352c-a34f-7703-aa3e-d7e3156bd0bd * Content: [Handle errors in ASP.NET Core web APIs](https://docs.microsoft.com/en-us/aspnet/core/web-api/handle-errors?view=aspnetcore-6.0) * Content Source: [aspnetcore/web-api/handle-errors.md](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/web-api/handle-errors.md) * Product: **aspnet-core** * Technology: **aspnetcore-webapi** * GitHub Login: @Rick-Anderson * Microsoft Alias: **riande**
New problem details service
Sample at https://github.com/dotnet/AspNetCore.Docs.Samples/tree/main/fundamentals/middleware/problem-details-service
Also document #25107
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.