控制台运行命令:

dotnet new -i IdentityServer4.Templates