Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hosting multiple .net core using the same application pool with AspNetCoreModuleV2

Hi I am trying to host a multiple .net core 3 application using the same application pool in IIS But were receiving ACME 500 error on the other application and only first one hosted is working Does anyone know whats the reason behind this?

Note: We tried reducing the module version in webconfig "AspNetCoreModuleV2" to "AspNetCoreModule" and the others application worked but I dont want to use this solution.

like image 394
NumbahOneCoder Avatar asked Oct 31 '19 01:10

NumbahOneCoder


1 Answers

One app per pool is the design limitation of ASP.NET Core module in-process hosting mode.

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

You either accept it, or switch to out-of-process mode (actually you did that by using the version 1 of ASP.NET Core module).

like image 94
Lex Li Avatar answered Sep 20 '22 22:09

Lex Li