TagHelperPack
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.net
Supports ASP.NET Core 6.0.x and 7.0.x. Also supports ASP.NET Core 2.1.x when running on .NET Framework 4.7.1 or higher.
Installing
-
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
-
Optional: Register optimizations in
ConfigureServices()
orProgram.cs
(ASP.NET Core 6+)services.AddTagHelperPack();