Writing a .Net application in Github, with automatic build and deploy to Heroku. All for free Andrew Buttigieg Follow Jan 30 · 3 min read

I have been developing with .Net for over a decade now and have always found it hard to find ways of hosting applications without have to pay some amount of money. I have found a solution using Heroku that has not historically supported .Net that I will run you through.

Heroku

Create a Heroku account from https://heroku.com. Create a new app, and from within it, go to settings and find the Buildpacks section. Since Heroku does not as of current support DotNet natively, you will need to add a custom buildpack that supports it. I have used https://github.com/jincod/dotnetcore-buildpack for my example.

Buildpack added to my app

You will also need to link your app to your Github repo once as you have created it.

You will need to make a note of your API from https://dashboard.heroku.com/account that will be used later on in your Github repo.