LinkTagHelper
LinkTagHelper(IHostingEnvironment, IMemoryCache, HtmlEncoder, JavaScriptEncoder, IUrlHelperFactory)
LinkTagHelper(IHostingEnvironment, TagHelperMemoryCacheProvider, IFileVersionProvider, HtmlEncoder, JavaScriptEncoder, IUrlHelperFactory)
LinkTagHelper(IWebHostEnvironment, TagHelperMemoryCacheProvider, IFileVersionProvider, HtmlEncoder, JavaScriptEncoder, IUrlHelperFactory)
AppendVersion
Cache
FallbackHref
FallbackHrefExclude
FallbackHrefInclude
FallbackTestClass
FallbackTestProperty
FallbackTestValue
GlobbingUrlBuilder
HostingEnvironment
Href
HrefExclude
HrefInclude
JavaScriptEncoder
Order
SuppressFallbackIntegrity
Process(TagHelperContext, TagHelperOutput)
net11.0-windows7.0
namespace Microsoft.AspNetCore.Mvc.TagHelpers
{
[HtmlTargetElement("link", Attributes = "asp-href-include", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("link", Attributes = "asp-href-exclude", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("link", Attributes = "asp-fallback-href", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("link", Attributes = "asp-fallback-href-include", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("link", Attributes = "asp-fallback-href-exclude", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("link", Attributes = "asp-fallback-test-class", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("link", Attributes = "asp-fallback-test-property", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("link", Attributes = "asp-fallback-test-value", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("link", Attributes = "asp-append-version", TagStructure = TagStructure.WithoutEndTag)]
public class LinkTagHelper : UrlResolutionTagHelper
{
[HtmlAttributeName("asp-suppress-fallback-integrity")]
public bool SuppressFallbackIntegrity { get; set; }
}
}
| Upgrade Planner | 0.0 % Reference this API 0.0 % Get property 0.0 % Set property |
|---|---|
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 2.23.03.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | Microsoft.AspNetCore.Mvc.TagHelpers , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.App (3.0.0-preview3-19153-02) netcoreapp3.0 |
| Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API