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
1 Comment on "ASP.NET Monsters #81: Invoking View Components as Tag Helpers"
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.
In CodeChannels.com, you can learn to code by watching videos and stay up to date with latest code shows, events and tutorials aggregated from various leading developer communities.
Copyright 2016 By CodeChannels.com All rights reserved.