TagHelpers.NonceTagHelper Class
Namespace: Nucleus.ViewFeatures.TagHelpers
Assembly: Nucleus.ViewFeatures.dll
Adds a nonce attribute to script, style, link, object, img, embed, and video tags. The nonce can be used by Content Security Policy (CSP) rules.
Properties
ViewContext
Property
Provides access to view context.
Methods
ProcessAsync
(TagHelperContext, TagHelperOutput) Method
ProcessAsync (TagHelperContext context, TagHelperOutput output)
Generate the output.