Namespace Cuemon.AspNetCore.Razor.TagHelpers
Simplify cache-busting, application resource linking, and asset versioning in ASP.NET Core Razor views using tag helpers. Use these tag helpers when you need to serve versioned static assets or generate correct URLs for application resources. Start with CacheBustingTagHelper for automatic cache-busting query strings, or AppLinkTagHelper, AppScriptTagHelper, and AppImageTagHelper for application-relative resource URLs.
Availability: .NET 10 and .NET 9
Complements: Microsoft.AspNetCore.Razor.TagHelpers namespace 🔗
Classes
AppImageTagHelper
Provides an implementation targeting <img> elements that supports ICacheBusting versioning of a static image placed on a location outside (but tied to) your application. This class cannot be inherited.
AppLinkTagHelper
Provides an implementation targeting <link> elements that supports ICacheBusting versioning of a static resource placed on a location outside (but tied to) your application. This class cannot be inherited.
AppScriptTagHelper
Provides an implementation targeting <script> elements that supports ICacheBusting versioning of a static script placed on a location outside (but tied to) your application. This class cannot be inherited.
AppTagHelperOptions
Configuration options for AppImageTagHelper, AppLinkTagHelper and AppScriptTagHelper.
CacheBustingTagHelper<TOptions>
Provides a base-class for static content related TagHelper implementation in Razor for ASP.NET Core.
CdnImageTagHelper
Provides an implementation targeting <img> elements that supports ICacheBusting versioning of a static image placed on a location with a CDN role. This class cannot be inherited.
CdnLinkTagHelper
Provides an implementation targeting <link> elements that supports ICacheBusting versioning of a static resource placed on a location with a CDN role. This class cannot be inherited.
CdnScriptTagHelper
Provides an implementation targeting <script> elements that supports ICacheBusting versioning of a static script placed on a location with a CDN role. This class cannot be inherited.
CdnTagHelperOptions
Configuration options for CdnImageTagHelper, CdnLinkTagHelper and CdnScriptTagHelper.
ImageTagHelper<TOptions>
Provides a base-class for targeting <img> elements that supports ICacheBusting versioning.
LinkTagHelper<TOptions>
Provides a base-class for targeting <link> elements that supports ICacheBusting versioning.
ScriptTagHelper<TOptions>
Provides a base-class for targeting <script> elements that supports ICacheBusting versioning.
TagHelperOptions
Configuration options for CacheBustingTagHelper<TOptions>.
Enums
ProtocolUriScheme
Defines protocol URI schemes for static resource related operations.