ASP.NET Monsters #4: Tag Helpers in Razor

Sign in to queue

Description

Ready for a great new feature in ASP.NET Core MVC? The Razor view engine now supports a concept called "Tag Helpers" that dramatically reduces the "c-sharp-iness" of your view and gives you something that looks a lot more like HTML. Dave, that Monster, contrasts this to the earlier incarnation known as HTML Helpers.

Tag helpers look a lot like custom HTML attributes and might be familiar to you if you've worked with frameworks like Angular. However, these are rendered on the server and not included in the response to the client.

Be sure to follow the Monsters on Twitter and check out the blog for related posts.

The production code for this video is 1v.

 

Embed

Download

The Discussion

Add Your 2 Cents