[go: nahoru, domu]

Skip to content

rrmistry/practical-dotnet-aspire

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Coffeeshop Apps on .NET Aspire

The coffeeshop apps on .NET Aspire

Counter API-Code Coverage

Prerequisites

Get starting

> task build
> task run
# http://localhost:5019

Generate manifest file (powershell)

dotnet run --project app-host/CoffeeShop.AppHost.csproj \
    -- \
    --publisher manifest \
    --output-path ../aspire-manifest.json

Deploy to Kubernetes

# Create K3d Kubernetes cluster
task cluster-create
dotnet tool install -g aspirate --prerelease
dotnet publish "/workspaces/coffeeshop-aspire/app-host/../product-api/CoffeeShop.ProductApi.csproj" -p:PublishProfile="DefaultContainer" -p:PublishSingleFile="true" 
-p:PublishTrimmed="false" --self-contained "true" --verbosity "quiet" --nologo -r "linux-x64" -p:ContainerRegistry="k3d-myregistry.localhost:12345" -p:ContainerRepository="product-api" -p:ContainerImageTag="latest"

About

The coffeeshop apps on .NET Aspire

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 95.7%
  • Shell 3.7%
  • Other 0.6%