how to use partial view in layout in mvc 5 code example Example: asp net core mvc partial view <partial name="_PartialName" />