/TagHelperPack

A set of useful, and possibly opinionated, Tag Helpers for ASP.NET Core

Primary LanguageC#MIT LicenseMIT

TagHelperPack Build status MyGet Pre Release

A set of useful, and possibly opinionated, Tag Helpers for ASP.NET Core (all versions).

Included Tag Helpers & Examples

See the examples page at https://taghelperpack.azurewebsites.net

Supports ASP.NET Core 1.0.x, 1.1.x, and 2.0.x

Installing

Add the MyGet feed to your project's NuGet configuration:

  1. 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>
  2. Add a reference to the package from the cmd line:
    MyGreatProject> dotnet add package TagHelperPack
    
  3. Restore:
    MyGreatProject> dotnet restore
    
  4. Register the Tag Helpers in your application's _ViewImports.cshtml file:
    @addTagHelper *, TagHelperPack