c# - 使用 AspNetCoreModuleV2 使用相同的应用程序池托管多个 .net 核心

标签 c# asp.net-core iis asp.net-core-3.0

您好我正在尝试使用 中的同一应用程序池托管多个 .net core 3 应用程序IIS
但是在另一个应用程序上收到 ACME 500 错误,并且只有第一个托管的工作正常
有谁知道这背后的原因是什么?

注意:我们尝试将 webconfig "AspNetCoreModuleV2"中的模块版本降低为 "AspNetCoreModule"并且其他应用程序有效,但我不想使用此解决方案。

最佳答案

每个池一个应用程序是 ASP.NET Core module in-process hosting mode 的设计限制.

Sharing an app pool among apps isn't supported. Use one app pool per app.



你要么接受它,要么切换到进程外模式(实际上你是通过使用 ASP.NET Core 模块的版本 1 做到的)。

关于c# - 使用 AspNetCoreModuleV2 使用相同的应用程序池托管多个 .net 核心,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58635664/

相关文章:

c# - C#中的排序列表

c# - 数以百计的自定义用户控件创建了数以千计的用户对象

asp.net - ASP.NET Core/MVC 6 ViewModel 中的依赖注入(inject) (DI)

http - IIS 文件下载挂起/超时 - sc-win32-status = 64

.net - 3.5应用程序池下的ASP.NET 4.0应用

c# - 这个单例实现是线程安全的吗 - 检查代码

c# - .NET Compact Framework - 基于 Cookie 的 Web 服务访问

c# - ASP.NET 核心 : CORS headers only for certain static file types

c# - Swagger 2.0 - Action 错误的模糊 HTTP 方法

使用 web.config 重定向排除 robots.txt