NET MVC web application with connection to database (Postgresql) and I have to deploy it to Heroku. Do I have to migrate this project to ASP.NET Core somehow or it is possible to deploy as it is?
My project structure :
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
You can’t deploy ASP.NET MVC (.NET Framework) to Heroku. You need to migrate on .NET Core.
2 options of deployment .net core app to Heroku
- Docker https://devcenter.heroku.com/categories/deploying-with-docker
- Using custom buildpack https://github.com/jincod/dotnetcore-buildpack
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0
