Leave a Reply

1 Comment on "ASP.NET Monsters #81: Invoking View Components as Tag Helpers"

Notify of
avatar

scyonx
Guest
scyonx
12 days 6 hours ago

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.Looking at the current feature set of asp.net core 1.1, what are uses cases of using ViewComponents vs TagHelpers?

wpDiscuz