What is Managed Code and Unmanaged Code?

Q

Managed Code and Unmanaged Code related ASP.NET- What is Managed Code and Unmanaged Code?

✍: Guest

A
Microsoft ASP.NET Web applications run under the control of the common language runtime (CLR). The CLR controls how the application’s assembly executes, allocates, and recovers memory; therefore, ASP.NET applications are said to use managed code. In contrast, most other Windows executables use unmanaged code because the executable itself determines how memory is used. Examples of unmanaged code include the Microsoft Win32 API, legacy DLLs and EXEs created for Windows applications prior to the Microsoft .NET Framework, and COM objects.

2009-03-30, 4405👍, 0💬