Create View Components in ASP.NET Core
ASP.NET Core offers several ways to reuse your code and UI. One of them is View Components. Simply put a view component is a bundle of C# code, Razor code, and markup that occupies some screen real-estate. Unlike partial views a view component is more like a standalone widget housed in a view.
http://www.binaryintellect.net/articles/549a17c8-eabe-4a15-ad69-c62b22a7734a.aspx