473,409 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

.NET Remoting and DCOM

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
Dec 28 '07 #1
2 3424
"Christian Havel" <Ch************@discussions.microsoft.comwrote in
message news:06**********************************@microsof t.com...
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.
Dec 28 '07 #2
Hi Willy,

thanks for your feedback
Christian

"Willy Denoyette [MVP]" wrote:
"Christian Havel" <Ch************@discussions.microsoft.comwrote in
message news:06**********************************@microsof t.com...
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.
Dec 30 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: IMRAN SAROIA | last post by:
Dear friends, I have implemented COM componet from .Net Assembly to be used by my old apps by creating a class and compiling it as an assembly and also regestring it. How can we implement...
8
by: Paul van't Klooster | last post by:
Hi, I have a situation where I need to register a COM/COM+ object that I have written in C# as DCOM. I have no problems creating COM or COM+ classes using C#, but I have not been successful...
7
by: Sharon | last post by:
hi all. i don't know much about com or .net remoting so this question might be a little confused. as far as i understand com system provides about the same functionality as ejb meaning that it...
2
by: c.verma | last post by:
I have a web based (forms based authentication) asp.net application that uses .NET remoting. It has web.config.remoting with all the required settings in it. As soon as it tries to access the...
0
by: c.verma | last post by:
I have a web based (forms based authentication) asp.net application that uses .NET remoting. It has web.config.remoting with all the required settings in it. As soon as it tries to access the...
3
by: Andreas Hecker | last post by:
Hello, does anybody know a little DCOM example or tutorial in VB.Net which runs on two seperate machines to simulate the network communication. I couldnt find any useful samples in the web but we...
13
by: Kyle Adams | last post by:
I don't know where is the right place to ask this so I will start here. Can someone explain to me what these represent? I think they all have to do with the middleware level, but I really don't...
1
by: Tommaso Caldarola | last post by:
I need to transfer big files (up to 10 Gb), now I'm using IIS via Remoting with chunk of bytes (up to 500Kb). In the following article: Middle-Tier Hosting: Enterprise Services, IIS, DCOM, Web...
6
by: John Heitmuller. | last post by:
I have created a very simple and short (70 lines) demo to demonstrate how to send data between instances of the same applications running on the same box. Here is a link to a .zip file that...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.