Table of Contents

Namespace Cuemon.AspNetCore.Mvc.Filters.Diagnostics

Assembly: Cuemon.AspNetCore.Mvc.dll

Capture and describe exceptions with diagnostic evidence in ASP.NET Core API responses using MVC filters that produce structured error responses, server-timing headers, and fault descriptions. Use this namespace when you need consistent API error handling. Start with FaultDescriptorFilter or configure MvcFaultDescriptorOptions. For server-timing metrics, use ServerTimingFilter or the ServerTimingAttribute.

Availability: .NET 10 and .NET 9

Complements: Microsoft.AspNetCore.Mvc.Filters namespace 🔗

Related: Cuemon.Extensions.AspNetCore.Mvc.Filters.Diagnostics namespace 📘

Classes

FaultDescriptorFilter

A filter that, after an action has faulted, provides developer friendly information about an Exception along with a correct HttpStatusCode.

MvcFaultDescriptorOptions

Specifies options that is related to FaultDescriptorFilter operations.

ServerTimingAttribute

Represents an attribute that is used to mark an action method for time measure profiling.

ServerTimingFilter

A filter that performs time measure profiling of action methods.