Table of Contents

Namespace Cuemon.AspNetCore.Diagnostics

Assembly: Cuemon.AspNetCore.dll

The Cuemon.AspNetCore.Diagnostics namespace contains types that provides a way to support the Server-Timing header for communicating metrics about the request-response cycle to an user agent. The namespace is an addition to the Microsoft.AspNetCore.Diagnostics namespace.

Availability: .NET 9 and .NET 8

Complements: Microsoft.AspNetCore.Diagnostics namespace 🔗

Related:

Classes

FaultDescriptorOptions

Specifies options that is related to Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware operations.

FaultDescriptorOptionsDecoratorExtensions

Extension methods for FaultDescriptorOptions class hidden behind the IDecorator<T> interface.

HttpExceptionDescriptor

Provides information about an Exception, in a developer friendly way, optimized for open- and otherwise public application programming interfaces (API). Implements the ExceptionDescriptor

HttpExceptionDescriptorDecoratorExtensions

Extension methods for HttpExceptionDescriptor class hidden behind the IDecorator<T> interface.

HttpExceptionDescriptorResponseFormatter<TOptions>

Provides a generic way to support content negotiation for exceptions in the application.

HttpExceptionDescriptorResponseHandler

Provides a way to support content negotiation for HttpExceptionDescriptor.

HttpExceptionDescriptorResponseHandlerDecoratorExtensions

Extension methods for the HttpExceptionDescriptorResponseHandler class hidden behind the IDecorator<T> interface.

HttpExceptionDescriptorResponseHandlerOptions

Specifies options that is related to HttpExceptionDescriptorResponseHandler operations.

HttpFaultResolver

Provides a way to evaluate an exception and provide details about it in a developer friendly way, optimized for open- and otherwise public application programming interfaces (API).

HttpFaultResolverDecoratorExtensions

Extension methods for the HttpFaultResolver class hidden behind the IDecorator<T> interface.

HttpRequestEvidence

Provides detailed information about a given Microsoft.AspNetCore.Http.HttpRequest.

ServerTiming

Provides a default implementation of the IServerTiming interface.

ServerTimingMetric

Represents a HTTP Server-Timing header field entry to communicate one metric and description for the given request-response cycle.

ServerTimingMiddleware

Provides a Server-Timing middleware implementation for ASP.NET Core.

ServerTimingOptions

Configuration options for ServerTimingMiddleware and related.

Interfaces

IHttpExceptionDescriptorResponseFormatter

Defines a way to support content negotiation for exceptions in the application.

IServerTiming

Represents the Server Timing as per W3C Working Draft 28 July 2020 (https://www.w3.org/TR/2020/WD-server-timing-20200728/).

Enums

PreferredFaultDescriptor

Specifies the preferred output format of an Exception raised in the context of either vanilla ASP.NET or ASP.NET MVC.