A set of useful, and possibly opinionated, Tag Helpers for ASP.NET Core (all versions).
See the examples page at https://taghelperpack.azurewebsites.net
Supports ASP.NET Core 1.0.x, 1.1.x, and 2.0.x
Add the MyGet feed to your project's NuGet configuration:
- Update (or create if it doesn't exist) your solution's
nuget.config
file (next to the .sln file) to include the MyGet feed:<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="TagHelperPack-CI" value="https://www.myget.org/F/taghelperpack-ci/api/v3/index.json" protocolVersion="3" /> </packageSources> </configuration>
- Add a reference to the package from the cmd line:
MyGreatProject> dotnet add package TagHelperPack
- Restore:
MyGreatProject> dotnet restore
- Register the Tag Helpers in your application's
_ViewImports.cshtml
file:@addTagHelper *, TagHelperPack