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 :
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.
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