aspnet
View Data Custom Tag Helper for Partial in ASP.NET
I often find the need to set values in ViewData when calling partials that are reused across the website. It might not make sense always to make that value part of the Model. You can do so currently by doing… <partial name="_ProfileImage" model="image"