Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS Application pools CLR v4.0 vs No managed code

Tags:

iis

iis-8

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.

like image 848
R. Vait Avatar asked Nov 29 '16 09:11

R. Vait


People also ask

What is the purpose of the Managed pipeline mode settings?

The "Managed Pipeline Mode" option enables backward compatibility. You can set the queue length using the "Queue Length" option. The "Limit", "Limit Action" and "Limit Interval" options enable you to specify throttling settings.

Is .NET core managed code?

. NET is sometimes called a "managed code" runtime. It's called managed primarily because it uses a garbage collector for memory management and because it enforces type and memory safety.

Is .NET core unmanaged?

NET, Framework is known as unmanaged code. Applications that do not run under the control of the CLR are said to be unmanaged, and certain languages such as C++ can be used to write such applications, which, for example, access low - level functions of the operating system.


1 Answers

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

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

The official guide has made it clear.

like image 72
Lex Li Avatar answered Jan 03 '23 04:01

Lex Li