Table of Contents

Namespace Cuemon.Extensions.AspNetCore.Configuration

Assembly: Cuemon.Extensions.AspNetCore.dll

Enable cache invalidation based on assembly version changes in ASP.NET Core applications through IServiceCollection extension methods. Use AddAssemblyCacheBusting or AddDynamicCacheBusting to register cache-busting services when you need clients to receive fresh static resources after deployment. Start with AddAssemblyCacheBusting for the simplest cache invalidation setup.

Availability: .NET 10 and .NET 9

Complements: Cuemon.AspNetCore.Configuration namespace 📘

Extension Members

Type Ext Methods
IServiceCollection ⬇️ AddAssemblyCacheBusting, AddCacheBusting<T>, AddDynamicCacheBusting

Classes

AssemblyCacheBusting

Provides cache-busting capabilities from an Assembly. This class cannot be inherited.

AssemblyCacheBustingOptions

Specifies options that is related to AssemblyCacheBustingOptions operations.

ServiceCollectionExtensions

Extension methods for the IServiceCollection interface.