A Cloud Storage triggered .NET Cloud Run template.
Run locally:
dotnet run
...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://0.0.0.0:8080
Inside the scripts folder, run test_local.sh to test locally:
./test_local.sh
< HTTP/1.1 200 OK
Run setup.sh to enable required services:
./setup.sh
Run deploy.sh to deploy to Google Cloud:
./deploy.sh
Run test_cloud.sh to test the service in Google Cloud:
./test_cloud.sh
When you're done, you can cleanup created resources:
./cleanup.sh