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.
See the version list below for details.
Install-Package Skywalker.Web.Mvc.ViewComponents -Version 220.127.116.11
dotnet add package Skywalker.Web.Mvc.ViewComponents --version 18.104.22.168
<PackageReference Include="Skywalker.Web.Mvc.ViewComponents" Version="22.214.171.124" />
paket add Skywalker.Web.Mvc.ViewComponents --version 126.96.36.199
- Skywalker.FluentComponents (>= 1.1.0)
This package is not used by any popular GitHub repositories.