Get the package from nuget.
Add this configuration to you apphost.
builder.AddGitProject(
"URL TO YOUR GIT REPO",
"WHERE YOU WANT TO CLONE THE REPO",
"PATH RELATIVE TO THE CLONED REPO TO THE CSPROJ")
.WithReference(cache)
.WithReference(apiService);
Go into a terminal and navigate to your apphost project and run this command.
$env:DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS = 'true'; dotnet run
Go into a terminal and navigate to this projects apphost project and run this command.
$env:DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS = 'true'; dotnet run .\Aspire.Git.AppHost.csproj