托管netcore2.2应用 [英] Hosting netcore2.2 apps
问题描述
我认为App存在问题服务.他们不支持netcoreapp2.2,因为App Services缺少"AspNetCoreModuleV2"模块.能 你能帮忙吗?请检查以下内容: https://hello-world-netcore22.azurewebsites.net/
I think there's an issue with App Services. They don't support netcoreapp2.2 because the App Services are missing 'AspNetCoreModuleV2' module. Can you please help? Check this out please: https://hello-world-netcore22.azurewebsites.net/
推荐答案
Raph,
当我将应用程序升级到asp.net core 2.2时,我遇到了同样的问题.经过研究后,我发现2.2版中的托管模型已更改.
I had the same issue when i upgraded my app to asp.net core 2.2. After doing some research i found that the hosting model in version 2.2 is changed.
请参阅文档以获取更多信息:
https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-2.2
Please see the documentation for more info:
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-2.2
我首先做的(并且确实有效!)正在更改web.config(替换 AspNetCoreModule )
What i first did (and it worked!), is changing the web.config (replacing AspNetCoreModuleV2 with AspNetCoreModule)
这篇关于托管netcore2.2应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!