i have a confiusin abou kestel and iis dose both of them can be used as a in-process and out-o-process servers , as far as i know that kesterl is an in process server in case of development while in production it has to be used as an out-of process with server like apache , nginx etc , but when i read some docs i norticed that iis can be an in-process to is this correct
Loading

Tahir AnsariPosted Sep 11, 2024, 1:53 AM
Yes Kestrel is a InProcess which is Directly handles requests within the application (both in development and production if no reverse proxy is used).
Out-of-Process Often used behind a reverse proxy like NGINX, Apache, or IIS in production.
IIS is InProcess when we hosted ASP.NET Core apps directly using the ASP.NET Core Module from version 2.2+.
For iis out of process it's a reverse proxy to Kestrel, forwarding requests (prior to ASP.NET Core 2.2 or if configured this way).