how to render script in partial view dotnet core mvc code example Example: asp net core mvc partial view <partial name="_PartialName" />