The Importance of Using Managed Code in .NET Development

View PDF

The material included throughout this page desribes the benefits and advantages of using managed code in .NET application development.

Because managed code runs in the Common Language Runtime (CLR), it provides services such as automatic memory management, platform-neutrality and cross-language integration. These features streamline deployment, improve performance and provide substantial improvement to application stability.

By contrast, unmanaged code (code written prior to the introduction of the .NET Framework) does not run inside the .NET environment and cannot use any .NET managed facilities.

Key features available to managed code applications include:

Performance benefits gained from executing all code in the CLR. Calling unmanaged code decreases performance because additional security checks are required. Other performance advantages are available through judicious use of the Just-In-Time compiler and NGEN utility

Automatic lifetime control of objects, including garbage collection and scalability features

Ease of deployment and the vastly improved versioning facilities-the end of "DLL hell"

Built-in security by using code access security and avoiding buffer overruns.

Click on the hyperlinks below to navigate to comprehensive descriptions accompanying the selected term:

Ready to try DataDirect Connect for ADO.NET?
| Learn More
Ready to try DataDirect Connect for ADO.NET?