Table of Contents

Namespace Cuemon.Extensions.AspNetCore.Mvc

Assembly: Cuemon.Extensions.AspNetCore.Mvc.dll

Add cache-control headers, entity tags, and last-modified headers to ASP.NET Core MVC action results with fluent extension methods. Use this namespace when you need to apply HTTP caching headers to MVC action results. Start with WithCacheableHeaders<T> on any object to combine entity-tag and last-modified headers in one call.

Availability: .NET 10 and .NET 9

Complements: Cuemon.AspNetCore.Mvc namespace 📘

Extension Members

Type Ext Methods
T ⬇️ WithLastModifiedHeader<T>, WithEntityTagHeader<T>, WithCacheableHeaders<T>
ViewDataDictionary ⬇️ AddBreadcrumbs<T>, GetBreadcrumbs

Classes

CacheableObjectResultExtensions

Extension methods for the ICacheableObjectResult interface.

ViewDataDictionaryExtensions

Extension methods for the ViewDataDictionary class. Experimental.