This is what you will be doing.
- Get both heroku and dotnet CLI.
- Heroku login and heroku create with .Net build pack
- Set heroku's git remote branch.
- Commit and push to heroku main.
- Open your app and good luck!
# edit this line
APP=dotnet-backend
mkdir $APP && cd $APP
dotnet new webapi
#===============#
heroku create $APP --buildpack https://github.com/jincod/dotnetcore-buildpack.git
heroku git:remote -a $APP
git push heroku main
# 404 default blank page, please go to /WeatherForecast
heroku apps:open $APP