28

I do not see much help when it comes to deploying .Net app to Heroku.

So, how to deploy .Net application to Heroku?

Damjan Pavlica
  • 31,277
  • 10
  • 71
  • 76
Nick Kahn
  • 19,652
  • 91
  • 275
  • 406

2 Answers2

24

This is demo app on asp.net 5 beta7 https://github.com/jincod/AspNet5DemoApp. Using buildpack forked from heroku/dotnet-buildpack.

heroku buildpacks:set https://github.com/jincod/dotnetcore-buildpack
git push heroku master
Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117
jincod
  • 584
  • 4
  • 17
7

You can try running ASP.Net & .Net console applications using the open source Mono framework. There is a buildpack to deploy these apps for you on Heroku at:

https://github.com/friism/heroku-buildpack-mono

To deploy your app on Heroku with this buildpack, install the Heroku toolbelt and run the following commands in the root of your project folder

  • heroku create
  • heroku config:add BUILDPACK_URL=https://github.com/friism/heroku-buildpack-mono/
  • git push heroku master

Also read Running .Net on Heroku for more details and some limitations

practicalli-john
  • 1,836
  • 1
  • 12
  • 8