.NETGURU
How can .NET replace COM?
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.interop.

Post a new message to this list...

Robert Wehofer
Hello!

I would like to know, how .NET could replace COM? How is it possible?

Imagine an application, which is a COM server, where a client could get
informations or call functions (e.g. I would like to know the name of the
current opened project in the application). The client has to reference the
current running COM server (in VB you use GetObject). Then I get
informations about the current running application.

How can .NET live up to that expectations?
You can reference certain assemblies, but those assemblies are loaded
explicitely to the process of my application. How can I reference to an
already loaded assembly. Do you need .NET remoting for that demand?

Robert

Reply to this message...
 
    
Jochen Kalmbach
Hello Robert,

[Original message clipped]

There is no really equivalent of (D)COM. Maybe someone will say that you
should use "Remoting".

See: .NET Remoting Overview
http://msdn.microsoft.com/=/library/en-
us/cpguide/html/cpconnetremotingoverview.asp

You can also use Web-Services (which is usefull in some scenarios).

From my point of view, there is at the moment no alternative to (D)COM
Servers!

Remoting works well, but is too complicated and much too slow to replace
(D)COM.

> How can .NET live up to that expectations?

As I said, you can use Remoting. Also you can use Web-Services which is
also "trendy" (and usefull for some scenarios).

[Original message clipped]

Do you mean to an assembly in an different process ? This can only be done
via Remoting.

I would suggest to wait for "Indigo" which really replaces (D)COM.

See: Indigo
http://msdn.microsoft.com/Longhorn/understanding/pillars/Indigo/default.asp
x

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Reply to this message...
 
    
Robert Wehofer
Hello Jochen!

[Original message clipped]

Yes, I meant it that way. So I need to read literature about .NET remoting.

Thanks for you interesting answer,
Robert

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification