Difference between COM and .NET component ?

Answer Posted / virat sarswat

Correcting Rajeev's answer
COM vs .NET Component

.NET Component=Object based communication
COM=Interface based communication

.NET Component=Garbage Collector to manage memory
COM=Reference count will be used to manage memory

.NET Component=Type Standard objects
COM=Binary Standard objects

.NET Component=Objects are created by normal new operator

COM=Objects are created by coCreateInstance

.NET Component=Exceptions will be returned
COM=HRESULT will be returned

.NET Component=Object info resides in assembly files
COM=Object info resides in Type library

Is This Answer Correct ?    23 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define object pooling?

3257


What are loosely coupled events?

2870


What is transaction atomicity?

527


Is it true that COM objects no longer need to be registered on the server?

531


Is com+ dead?

536






What is jit activation?

511


What is ccw?

3199


Explain the disadvantages of com components?

2779


What is security?

3257


Explain how to register com+ services?

3306


What is integrity?

518


What is availability?

3248


How CCW and RCW is working?

681


Define jit activation?

3223


Explain the new three features of com+ services, which are not there in com (mts)?

3356