简体   繁体   English

将 .NET Core 应用程序部署到 Heroku 的推荐方法是什么?

[英]What is the recommended way to deploy a .NET Core app into Heroku?

I want to deploy an ASP.NET Core 3.1 web app into the Heroku platform.我想将 ASP.NET Core 3.1 Web 应用程序部署到 Heroku 平台中。 After searching in google and following a bunch of articles I am still getting an error.在谷歌搜索并关注一堆文章后,我仍然遇到错误。

Deploy fails with "[ERROR]: Failed to deploy"部署失败并显示“[ERROR]: Failed to deploy”

Can someone recommend me the latest working way of deploying a .NET app into Heroku?有人可以向我推荐将 .NET 应用程序部署到 Heroku 的最新工作方式吗?

You need to use correct heroku build pack for asp.net core.您需要为 asp.net 核心使用正确的 heroku 构建包。

This build pack maybe helps you.这个构建包可能对你有帮助。

https://github.com/jincod/dotnetcore-buildpack https://github.com/jincod/dotnetcore-buildpack

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 关于部署net core app到heroku服务器 - About deploy net core app to heroku server 在 MT 环境中使用 .Net Core 为桌面应用程序引发属性更改的推荐方法是什么 - What is the recommended way to raise property change for a desktop application using .Net Core in an MT environment 在 Linux 作为服务运行时防止 a.Net Core 5 控制台应用程序结束的推荐方法 - Recommended way to prevent a .Net Core 5 console app from ending when run on Linux as a service .NET应用程序中的大内存块。处理它们的最佳/推荐/可扩展方式是什么? - Large memory blocks in a .NET app. What's optimal/recommended/scalable way to handle them? 在 ASP.NET Core 3.0 中配置 Autofac 的推荐方法 - Recommended way to configure Autofac in ASP.NET Core 3.0 在 Visual Studio 中将 .net 核心应用程序部署到 linux? - Deploy .net core app to linux in visual studio? 将ASP.Net核心Web应用程序编写的微服务部署到生产环境的正确方法是什么 - what is the proper way to deploy microservices written with ASP.Net core web application to production 在.NET中使用固定大小的线程池的推荐方法是什么? - What is recommended way to use fixed size thread pool in .NET? 捕获异常的推荐方法是什么 - What is the recommended way to catch exceptions 部署托管到 Azure 的 Blazor WebAssembly 应用 ASP.NET Core - Deploy Blazor WebAssembly App ASP.NET Core hosted to Azure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM