return partialview asp.net core code example Example: asp net core mvc partial view <partial name="_PartialName" />