ASP.NET Core Interview Question #213
What is IIS in-process hosting for ASP.NET Core?
Testing, Deployment & Hosting Senior Advanced
Quick Interview Answer
With IIS in-process hosting, the ASP.NET Core application runs inside the IIS worker process using the ASP.NET Core Module integration model.
Detailed Explanation
With IIS in-process hosting, the ASP.NET Core application runs inside the IIS worker process using the ASP.NET Core Module integration model.
This can provide efficient communication between IIS and the application because requests do not need to be proxied to a separate application process in the same way as the out-of-process model.
IIS still provides process and web-server integration features, while the ASP.NET Core application executes its managed request pipeline within the worker process.
Code Example
<aspNetCore processPath="dotnet"
arguments=".\MyApp.dll"
hostingModel="inprocess" />