This Buidpack can be used to compile and deploy ASP.Net Core Application, ASP.Net Core MVC Application to Heroku. It will pull the .NET Core dependencies from Microsoft, build a .NET Core Application and deploy it to the Heroku Platform by provisioning a free version of Heroku Postgres. You can use any version of Visual Studio to do the development, from the Free Visual Studio Code to the fully-featured Visual Studio Enterprise.
In order to see the buildpack in action, you can click on the button below which will deploy a sample ASP.Net MVC application with Postgres database support to heroku and you can see the build and deployment logs as the application gets deployed for you. This application was developed using Visual Studio 2017.
Sample Application source code is also available Sample
Copy the snippet above into CLI.