.NET Remoting and DCOM

C

Christian Havel

Hi,

in a existing application (DCOM server and client, both in VC++) we have
very often problems with the DCOM-configuration.
Is the requiered configuration (open ports) in applications using .NET
remoting much more easier than in DCOM applications?

What is with the performance, if the DCOM server has a .NET remoting object
client and the DCOM client (VC++) uses the .NET remoting object as the server?

Happy new year
Christian
 
W

Willy Denoyette [MVP]

Christian Havel said:
Hi,

in a existing application (DCOM server and client, both in VC++) we have
very often problems with the DCOM-configuration.

What kind of problems?
Is the requiered configuration (open ports) in applications using .NET
remoting much more easier than in DCOM applications?
Are you talking about open ports at the Firewall ?
Whatever you are using, Remoting or DCOM you will have to open the ports you
are using at the firewall. DCOM uses the port 135 plus the port range you
have configured for the DCOM server's endpoints. When using .NET Remoting
(not using any authentication protocol), you'll have to open the ports you
are binding to in your Server's endpoint and the ports you are eventually
using for call backs.
If you wan't Remoting with authentication support, you'll have to open the
ports used by the authentication protocol selected (NTLM, Kerberos etc...).
What is with the performance, if the DCOM server has a .NET remoting
object
client and the DCOM client (VC++) uses the .NET remoting object as the
server?

Hmmm.. Not sure what you mean by this, DCOM clients cannot call Remoting
objects. What you could do however, is use EnterpriseServices and drop your
..NET classes in a COM+ server application, that way they are exposed to
native (DCOM) clients as well as to .NET clients using the DCOM protocol.
Happy new year

Same for you.
Willy.
 
C

Christian Havel

Hi Willy,

thanks for your feedback
Christian

Willy Denoyette said:
What kind of problems?

Are you talking about open ports at the Firewall ?
Whatever you are using, Remoting or DCOM you will have to open the ports you
are using at the firewall. DCOM uses the port 135 plus the port range you
have configured for the DCOM server's endpoints. When using .NET Remoting
(not using any authentication protocol), you'll have to open the ports you
are binding to in your Server's endpoint and the ports you are eventually
using for call backs.
If you wan't Remoting with authentication support, you'll have to open the
ports used by the authentication protocol selected (NTLM, Kerberos etc...).


Hmmm.. Not sure what you mean by this, DCOM clients cannot call Remoting
objects. What you could do however, is use EnterpriseServices and drop your
..NET classes in a COM+ server application, that way they are exposed to
native (DCOM) clients as well as to .NET clients using the DCOM protocol.


Same for you.
Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top