TagHelperSamples
A set of sample tag helpers for ASP.NET Core MVC
Install / Use
/learn @dpaquette/TagHelperSamplesREADME
Tag-helper-samples
TagHelper Samples running on Azure. Sample tag helpers that do useful work.
To use the Bootstrap AlertTagHelper (authored by Rick Strahl) add Font Awesome. The sample project adds FA to the Views\Shared_Layout.cshtml file.
Click the Summary menu item to see the tag helpers in action. From the home link, select a tag helper to see a code snipet and the resulting UI.
Try it in your project
Bootstrap Tag Helpers
The Bootstrap Tag Helper samples are available on Nuget.
dotnet add package TagHelperSamples.Bootstrap
Then add the tag helpers to your _ViewImports.cshtml file:
@addTagHelper "*, TagHelperSamples.Bootstrap"
Markdown Tag Helpers
The Markdown Tag Helper samples are available on Nuget.
dotnet add package TagHelperSamples.Markdown
Then add the tag helpers to your _ViewImports.cshtml file:
@addTagHelper "*, TagHelperSamples.Markdown"
Authorize Tag Helper
The Authorize Tag Helper is available on Nuget.
dotnet add package TagHelperSamples.Authorization
Then add the tag helpers to your _ViewImports.cshtml file:
@addTagHelper "*, TagHelperSamples.Authorization"
Related Skills
node-connect
332.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
81.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
332.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
81.7kCommit, push, and open a PR
