First pass example of running a ASP.NETCore application using Waypoint
- Download and install Waypoint locally
- Clone this repo
- Navigate into directory
- Run
waypoint init
- Run
waypoint up
- First run will take a little while
- Waypoint will give you a URL once it is build, deployed and released
- Run
waypoint ui -authenticate
to poke around the UI
Notes:
- Switched to use the GCP BuildPacks as the default for the
pack
plugin isheroku/buildpacks:18
which does not support .NET projects - Added the
ASPNETCORE_URLS
environment variable in deploy as I was getting:Unable to bind to http://localhost:5000 on the IPv6 loopback interface: 'Cannot assign requested address'
- Only needed to add the
waypoint.hcl
file, everything else has been generated throughdotnet new web
- Requires Docker