[英]Asp net core publish on azure app services 500 server error
I am trying to publish my existing asp net core 2.0 web application to azure app services.我正在尝试将我现有的 asp net core 2.0 web 应用程序发布到 azure 应用程序服务。 My app is working in debug on my computer.我的应用程序正在我的计算机上调试。 I followed this tutorial [link] https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-tutorial-dotnet-sqldatabase .我遵循了本教程 [链接] https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-tutorial-dotnet-sqldatabase 。 Everything went smooth without errors.一切顺利,没有错误。 But when I go to the webpage I just get a very helpful 500 error.但是当我访问网页时,我得到了一个非常有用的 500 错误。 What can I do?我能做什么? How to debug?如何调试? Im new to azure.我是天蓝色的新手。
Thank you谢谢
You need a way to remotely view the exception in order to get more information for debugging.您需要一种远程查看异常的方法,以便获得更多调试信息。 Here is a helpful doc on setting up Remote Debugging.这是有关设置远程调试的有用文档。 https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure
Check out the section "Remote Debug ASP.NET Core on an Azure App Service"查看“在 Azure 应用服务上远程调试 ASP.NET Core”部分
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.