英文:
Problem with deploying Blazor to iis server
问题
我创建了一个简单的Blazor WASM项目,并在[附加信息]步骤中,我只选择了[配置为https],然后我将项目发布到IIS服务器,但在运行发布项目的网站浏览器时,我收到了一个错误消息 "HTTP错误 500.19 - 内部服务器错误"。
我尝试寻找解决此问题的方法,但没有找到。
你有什么想法吗?请告诉我方法。谢谢。
英文:
I created a simple Blazor WASM project and in [Additional information] step, I selected only [Configure for https] and then I published the project into IIS SERVER, but when running website browser of the publishing project, I got an error "HTTP Error 500.19 - Internal Server Error".
I tried to find for fixing the issue but cannot.
Do you have any ideas? please show me the way. thanks
答案1
得分: 1
你应该在IIS服务器上安装URL rewrite2模块和.NET Core Hosting Bundle。
有关更多信息,您可以参考如何在Internet Information Services (IIS)上部署Blazor应用程序。
英文:
You should install URL rewrite2 module and The .NET Core Hosting Bundle on the IIS server.
For more info, you can refer to How to deploy a Blazor Application on Internet Information Services (IIS)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论