Table of Contents

Namespace Cuemon.AspNetCore.Mvc

Assembly: Cuemon.AspNetCore.Mvc.dll

Build HTTP cache-aware MVC results and structured error responses in the ASP.NET Core MVC pipeline using cache expiration models, content-based result types, and exception-handling filters. Use this namespace when you need conditional GET support, ETag/last-modified validation, or consistent API error responses. Start with CacheableFactory for building cacheable responses or ExceptionDescriptorResult for formatted API errors.

Availability: .NET 10 and .NET 9

Complements: Microsoft.AspNetCore.Mvc namespace 🔗

Related: Cuemon.Extensions.AspNetCore.Mvc namespace 📘

Classes

Breadcrumb

Represents a breadcrumb that can be used for navigation purposes on a website.

CacheableFactory

Provides access to factory methods for creating and configuring objects implementing the ICacheableObjectResult interface.

CacheableObjectResultOptions<T>

Specifies options that is related to the ICacheableObjectResult interface.

ContentBasedObjectResultOptions<T>

Specifies options that is related to the ICacheableObjectResult interface.

ExceptionDescriptorResult

An ObjectResult that when executed will produce a response that varies depending on the encapsulated Exception.

ForbiddenObjectResult

An ObjectResult that when executed will produce a Forbidden (403) response.

ForbiddenResult

An ActionResult that returns a Forbidden (403) response.

GoneResult

An ActionResult that returns a Gone (410) response.

SeeOtherResult

An ActionResult that returns a SeeOther (303) response with a Location header to the supplied URL.

TimeBasedObjectResultOptions<T>

Specifies options that is related to the ICacheableObjectResult interface.

TooManyRequestsObjectResult

An ObjectResult that when executed will produce a Too Many Requests (429) response.

TooManyRequestsResult

An ActionResult that returns a TooManyRequests (429) response.

Interfaces

ICacheableObjectResult

An interface for providing hints to an implementor that an object is cacheable.

IContentBasedObjectResultOptions<T>

Defines options that is related to ICacheableObjectResult operations.

ITimeBasedObjectResultOptions<T>

Defines options that is related to ICacheableObjectResult operations.