An introduction to ViewComponents - a login status view component

added by DotNetKicks
1/10/2017 12:19:19 PM

4 Kicks, 264 Views

View components are one of the potentially less well known features of ASP.NET Core Razor views. Unlike tag-helpers which have the pretty much direct equivalent of Html Helpers in the previous ASP.NET, view components are a bit different. In spirit, they fit somewhere between a partial view and a full controller - approximately like a ChildAction.