Has somebody tried using InProcess hosting model? It's supposed to be faster than OutOfProcess: ASPNET-Core-Hosting-on-IIS-with-ASPNET-Core-22
The problem is that when enabling in it the following happens:
7 Answer(s)
-
0
-
0
@leonkosak Thanks for the reminder.
Tracked in aspnetzero/aspnet-zero-core#2019.
-
0
Hi @jguldemod,
Thanks for offering your help :)
The other day I followed the suggestion made in a comment in the following thread: AspNetCoreModuleV2 and hostingModel="InProcess" in IIS sub application failing to start
The most common issue people have been running into is the CurrentDirectory() being set to C:\Windows\System32\inetsrv rather than the app directory. Our current recommendation is to use https://github.com/aspnet/Docs/blob/master/aspnetcore/host-and-deploy/aspnet-core-module/samples_snapshot/2.x/CurrentDirectoryHelpers.cs to work around this until a future patch release.
Is the same recomendation made by "neuhausf" in that other thread that aaron provided.
Your fix is the same or is something else?