Microsoft.AspNetCore.Mvc.TagHelpers Namespace

Provides implementations for built-in Tag Helpers.

Classes

AnchorTagHelper

ITagHelper implementation targeting <a> elements.

CacheTagHelper

TagHelper implementation targeting <cache> elements.

CacheTagHelperBase

TagHelper base implementation for caching elements.

CacheTagHelperMemoryCacheFactory

A factory for IMemoryCaches configured using CacheTagHelperOptions. CacheTagHelper uses this factory to set its MemoryCache.

CacheTagHelperOptions

Provides programmatic configuration for the cache tag helper in the MVC framework.

ComponentTagHelper

A TagHelper that renders a Razor component.

DistributedCacheTagHelper

TagHelper implementation targeting <distributed-cache> elements.

EnvironmentTagHelper

ITagHelper implementation targeting <environment> elements that conditionally renders content based on the current value of EnvironmentName. If the environment is not listed in the specified Names or Include, or if it is in Exclude, the content will not be rendered.

FormActionTagHelper

ITagHelper implementation targeting <button> elements and <input> elements with their type attribute set to image or submit.

FormTagHelper

ITagHelper implementation targeting <form> elements.

GlobbingUrlBuilder

Utility methods for ITagHelper's that support attributes containing file globbing patterns.

ImageTagHelper

ITagHelper implementation targeting <img> elements that supports file versioning.

InputTagHelper

ITagHelper implementation targeting <input> elements with an asp-for attribute.

LabelTagHelper

ITagHelper implementation targeting <label> elements with an asp-for attribute.

LinkTagHelper

ITagHelper implementation targeting <link> elements that supports fallback href paths.

OptionTagHelper

ITagHelper implementation targeting <option> elements.

PartialTagHelper

Renders a partial view.

PersistComponentStateTagHelper

A TagHelper that saves the state of Razor components rendered on the page up to that point.

RenderAtEndOfFormTagHelper

ITagHelper implementation targeting all form elements to generate content before the form end tag.

ScriptTagHelper

ITagHelper implementation targeting <script> elements that supports fallback src paths.

SelectTagHelper

ITagHelper implementation targeting <select> elements with asp-for and/or asp-items attribute(s).

TagHelperOutputExtensions

Utility related extensions for TagHelperOutput.

TextAreaTagHelper

ITagHelper implementation targeting <textarea> elements with an asp-for attribute.

ValidationMessageTagHelper

ITagHelper implementation targeting <span> elements with an asp-validation-for attribute.

ValidationSummaryTagHelper

ITagHelper implementation targeting <div> elements with an asp-validation-summary attribute.

Enums

PersistenceMode

The way to persist the component application state.

Remarks

For more information about Tag Helpers, see Tag Helpers.