Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed ?

Answer Posted / kirti

"Advantage includes automatic garbage collection,memory management,security,type checking,versioning

Managed code is compiled for the .NET run-time environment. It runs in the Common Language Runtime (CLR), which is the heart of the .NET Framework. The CLR provides services such as security,

memory management, and cross-language integration. Managed applications written to take advantage of the features of the CLR perform more efficiently and safely, and take better advantage of developers existing expertise in languages that support the .NET Framework.

Unmanaged code includes all code written before the .NET Framework was introduced�this includes code written to use COM, native Win32, and Visual Basic 6. Because it does not run inside the .NET environment, unmanaged code cannot make use of any .NET managed facilities."

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the components required to create a route in mvc?

605


mention what are the various methods provided by the dataset object to generate xml?

598


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

592


Give an example for authorization filters in an asp.net mvc application?

532


What type of filter does outputcacheattribute class represents?

668






What is the advantage of mvc?

616


What are the advantages of mvc over asp.net?

558


Explain what platforms does the .net framework run on?

546


Explain two instances where routing is not implemented or required?

588


What symbol would you use to denote, the start of a code block in razor views?

567


Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?

538


What is action methods in web api?

525


Why should we go for entity framework?

518


what is use of entitydatasource control?

603


What is layout in mvc?

565