Posted on: 11/19/2014 7:57:21 PM | Views : 1377

TagHelpers are a new feature of ASP.NET 5 (formerly and colloquially ASP.NET vNext) but it's taken me (and others) some time to fully digest them and what they mean.
Note that this, and all of ASP.NET 5 is a work in progress. TagHelpers can and will change. There is NO tooling support in Visual Studio for them, as they are changing day to day, so just be aware. That's why this post (and series is called Work in Progress.)
Historically we've used HtmlHelpers within a Razor View, so when you wanted a Label or a TextBox you'd do this. This is from the ASP.NET 5 Starter Web example.
<li>@Html.ActionLink("Home", "Index", "Home")</li>There you have some HTML, then we start some C# with @ and then switch out. It's inline C#, calling a function that will return HTML.
Here's the sa ...

Go to the complete details ...