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
dotnet add package Skywalker.Web.Mvc.ViewComponents --version
<PackageReference Include="Skywalker.Web.Mvc.ViewComponents" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Skywalker.Web.Mvc.ViewComponents --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Version History

Version Downloads Last updated 1,645 8/30/2011 549 8/28/2011 511 8/28/2011 537 8/28/2011 509 8/28/2011 502 8/28/2011 542 8/28/2011
1.1.0 580 8/28/2011
1.0.0 527 8/28/2011