render partial view in mvc .net core 5 code example Example: asp net core mvc partial view <partial name="_PartialName" />