Table of Contents

Namespace Cuemon.Extensions.AspNetCore.Diagnostics

Assembly: Cuemon.Extensions.AspNetCore.dll

Add Server-Timing headers and fault-descriptor exception handling to your ASP.NET Core pipeline. Use this namespace when you need to emit server-timing metrics or provide structured fault responses. Start with UseServerTiming on IApplicationBuilder for timing headers, or UseFaultDescriptorExceptionHandler for structured exception handling. Register services with AddServerTiming or AddFaultDescriptorOptions on IServiceCollection.

Availability: .NET 10 and .NET 9

Complements: Cuemon.AspNetCore.Diagnostics namespace 📘

Extension Members

Type Ext Methods
IApplicationBuilder ⬇️ UseServerTiming, UseFaultDescriptorExceptionHandler
IServiceCollection ⬇️ AddServerTiming, AddServerTiming<T>, AddServerTimingOptions, AddFaultDescriptorOptions, AddExceptionDescriptorOptions, PostConfigureAllExceptionDescriptorOptions
IServiceProvider ⬇️ GetExceptionResponseFormatters

Classes

ApplicationBuilderExtensions

Extension methods for the IApplicationBuilder interface.

ServiceCollectionExtensions

Extension methods for the IServiceCollection interface.

ServiceProviderExtensions

Extension methods for the IServiceProvider interface.