Search:
Namespaces
Discussions
.NET v1.1
Feedback
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...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com