Web. Mvc. ViewComponents
ViewComponents are HTML Helpers on Steroids: reusable pieces of UI that are skinnable (using Partial Views) and redestributable. Just like the CustomControls of ASP.NET WebForms.
A ViewComponent is:
Reusable / redistributable;
Easy to consume from Views (using fluent syntax) as well as easy to author (by using a simple set of base classes and interfaces);
Able to provide rich UI components;
Using a Component based model that will allow you to create shared functionality from which more specific components inherit from;
In the end nothing more than a ViewModel created and populated by its Fluent wrapper. Just the ViewModel is used within the skin / partial view.
Install-Package Skywalker.Web.Mvc.ViewComponents -Version 126.96.36.199
dotnet add package Skywalker.Web.Mvc.ViewComponents --version 188.8.131.52
<PackageReference Include="Skywalker.Web.Mvc.ViewComponents" Version="184.108.40.206" />
paket add Skywalker.Web.Mvc.ViewComponents --version 220.127.116.11
- Skywalker.FluentComponents (>= 18.104.22.168)
This package is not used by any popular GitHub repositories.