Over a million developers have joined DZone.

Using ASP.NET Core TagHelpers [Podcast]

DZone's Guide to

Using ASP.NET Core TagHelpers [Podcast]

This podcast focuses on implementing ASP.NET Core UIs with a focus on TagHelpers. See how you can put them to use in web development.

· Web Dev Zone ·
Free Resource

Access over 20 APIs and mobile SDKs, up to 250k transactions free with no credit card required

Recently, Microsoft announced the release of ASP.NET Core 2.0. With this release comes a new feature for building HTML views called TagHelpers. With ASP.NET Core 2.0, TagHelpers allow developers to write component based-views for server-side rendering by utilizing a syntax similar to HTML. This new syntax incorporates concepts used in HTML, elements, and attributes.

When using TagHelpers in a .cshtml view, Visual Studio treats the TagHelper as it would HTML, but with added server-side functionality. Often with HTML Helpers, the CSS class attribute was difficult to add and completely lacked Intellisense. With TagHelpers, developers get rich Intellisense for not only server-side code, but also with any HTML attributes supported by Visual Studio.

In addition to better Intellisense, TagHelpers also make great container elements. TagHelpers treat their inner HTML content as normal HTML elements do. In comparison to HTML Helpers, nested content required escape codes, or specialized using blocks to contain inner HTML content.

Throughout .NET’s journey from conceptualizing ASP.NET Core TagHelpers to our recent release, Progress has continued to support the community by sharing information about TagHelpers. Below are resources that will help keep you up to speed on the latest developments with ASP.NET Core TagHelpers.

#1 for location developers in quality, price and choice, switch to HERE.

web dev ,taghelpers ,asp.net core ,html views

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}