ASP.NET Monsters #81: Invoking View Components as Tag Helpers

Download this episode

Download Video

Description

A new feature in ASP.NET Core 1.1 allows us to invoke view components as tag helpers. Monster Dave shows us how to enable this new feature.

Related Episode - View Components

Tag:

ASP.NET

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      scyonx

      Since ViewComponents can be invoked as TagHelpers, it feels like ViewComponents should be the default to go for extensibility into your views. Especially if you consider that you'd get better view support using Razor with ViewComponents vs using doing string manipulation in regular TagHelpers.

    Add Your 2 Cents