Back to Aspnetcore

Endpoint Metadata

aspnetcore/release-notes/aspnetcore-9/includes/endpoint-metadata.md

latest1.3 KB
Original Source

Developer exception page improvements

The ASP.NET Core developer exception page is displayed when an app throws an unhandled exception during development. The developer exception page provides detailed information about the exception and request.

Preview 3 added endpoint metadata to the developer exception page. ASP.NET Core uses endpoint metadata to control endpoint behavior, such as routing, response caching, rate limiting, OpenAPI generation, and more. The following image shows the new metadata information in the Routing section of the developer exception page:

:::image type="content" source="~/release-notes/aspnetcore-9/_static/endpoint-metadata.png" alt-text="The new metadata information on the developer exception page":::

While testing the developer exception page, small quality of life improvements were identified. They shipped in Preview 4:

  • Better text wrapping. Long cookies, query string values, and method names no longer add horizontal browser scroll bars.
  • Bigger text which is found in modern designs.
  • More consistent table sizes.

The following animated image shows the new developer exception page:

:::image type="content" source="~/release-notes/aspnetcore-9/_static/aspnetcore-developer-page-improvements.gif" alt-text="The new developer exception page":::