IIS Application pools CLR v4.0 vs No managed code

Posted by Carisa Kissane on Friday, May 17, 2024

I am currently developing an app which uses .Net core.

I have hosted a lot of micro-services on IIS Manager in new app pool.

I was wondering is there any advantages for app pool version instead of the latest.NET CLR v4.0, to use no managed code?

I heard some things that no managed code option gets better performance. Is that true?

Thank you.

1 Answer

You should use "No managed code" if only an ASP.NET Core app is hosted,

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1

The official guide has made it clear.

5

ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJoa2lwZmd9dH6OoqCsZZGlva21wpqroqeeYr2wu8usZJykomLDdXmPZq2sZZ6keq6tzZqenpxdmLylsQ%3D%3D