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

Sign in to queue

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

Download

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