.NET Remoting vs. DCOM

dotnet framework

    Next

  • 1. Appdomain serialization
    Can someone please explain why everything must be serializable when crossing AppDomain borders? It seems logical to me that parameters and return values must be serializable when calling a method in another app domain through a transparent proxy, but i can't find a logical explanation as to why every variable used within the method also is cross domain serialized. This is killing my plugin architecture (i can't update plugins while the program is running through AppDomain.Unload). If anybody know of a workaround to this problem, please let me know. With regards MariusI
  • 2. Using Remoting Events To Build A Push Web Server,How is it done?
    Hi there, I want to push data from my web server to the web page, like a real time stock quotes grid. Now, i want to know is it possible using .net remoting.If yes, then how? Using .net remoting Events? And how do they (.net remoting Events) work? Any Tutorials or links.... would be bonus. Thnks in Advance. Cheers... Bye.
  • 3. Using Remoting Events To Build A Push Web Server,How it done?
    Hi there, I want to push data from my web server to the web page, like a real time stock quotes grid. Now, i want to know is it possible using .net remoting.If yes, then how? Using .net remoting Events? And how do they (.net remoting Events) work? Any Tutorials or links.... would be bonus. Thnks in Advance. Cheers... Bye.
  • 4. How can i call method dynamically in remoting
    Hi, I have developed remoting structure via interface. I can created this class properly. And I can call any method. But I want to call method dynamically. I am using "GetMethod" function. However return value is always null. Why? ImyClass myClass = Activator.GetObject(typeof(ImyClass), "url address"); MethodInfo mi = myClass.GetMehod("HelloWorld"); mi is null !!!! Best Regards, Erkan
  • 5. How can I get the username associated with a process
    Hi, I need to get the user associated with a process.I tried using Process class in System.Diagnostics.Proces.But I didnt find any property or method which can provide me the info.Any help regarding this is welcome

.NET Remoting vs. DCOM

Postby pranavr » Thu, 14 Oct 2004 21:55:33 GMT

Hi All,
I have a .NET serviced component as an Application Server between the
web server(asp.net) and the database.
There is a COM component registered on the web server for legacy
operations and as a part of that it makes DCOM calls to the
Application Server.
I have a requirement where my aspx.cs needs to call the Application
Server and I was wondering if I should use Remoting to achieve this or
simply forward the call to my registered component (which would use
DCOM). My requirement would fall into the category of SAO, SingleCall.
Are there any perf nos. comparing DCOM & .Net Remoting.

Thanks,
Pranav

Re: .NET Remoting vs. DCOM

Postby Sam Santiago » Fri, 15 Oct 2004 02:24:24 GMT

Is your Application Server component physically deployed on another machine
or on the web server?  Remember there's a big difference between logical
layering and physical deployment. I would recommend physically deploying it
on the web server (avoid remote calls if possible for performance) and
simply importing the namespace in your aspx.cs file and instantiating an
instance as needed like you would do with a typical serviced component.

Thanks,

Sam

-- 
_______________________________
Sam Santiago
 XXXX@XXXXX.COM 
 http://www.**--****.com/ 
_______________________________







Re: .NET Remoting vs. DCOM

Postby pranavr » Fri, 15 Oct 2004 12:14:40 GMT

Thanks for your input Sam,
I agree that for optimal performance I would have the component
deployed on the same machine as the web server, I would mark it as
library application so that there is no process switch either.
However, from MS security doc the recommendation is to cascade and
keep the AS and web server different. Our solution has to comply to
such deployments too where I have to invoke a remote component.
Given that we already have code sitting that makes call to the
Application Server using DCOM does it make sense to use remoting to
make the newly written code talk directly to AS. Some of the things
that may be of concern is that if there is a firewall then the port
mapping rules have to be done for both DCOM and remoting. I need good
performance so I don't intend to use http for communication between
the web server and the AS.

Pranav







Re: .NET Remoting vs. DCOM

Postby Sam Santiago » Fri, 15 Oct 2004 15:05:45 GMT

With the restrictions you have mentioned, for simplicity and consistency I
would stick with DCOM.

Thanks,

Sam

-- 
_______________________________
Sam Santiago
 XXXX@XXXXX.COM 
 http://www.**--****.com/ 
_______________________________







machine
it






Re: .NET Remoting vs. DCOM

Postby pranavr » Fri, 15 Oct 2004 22:21:29 GMT

Thanks,
I'll implement the DCOM solution and investigate further on the remoting front.
Pranav

Similar Threads:

1.dcom vs com+ vs remoting

Hello.

I am doing a research on dcom, com+ and remoting.

We are about to develop a web application consisting 3 tiers ( web server,
application server, db server )

We are going to develop front end in asp.net and ms sql in the back end.

The middle tier mostly will be grabbing data from the db and give the result
to the front end.

I'd like to know what would be the better way to do this.

Should I use only one object in the middle tier that communicate to all the
threads requested from the web server? ( i'd like to know the pres and
cons )

I heard that dcom is better than com+ in particular situation so I'd like to
know in what situation remoting would be the best fit in the middle tier and
why

Thanx in advance


2.Enterprice Services (via DCOM) vs IIS (via Remoting) for high volume apps

3.Remoting Vs. DCOM

Hey,
If I don't need to worry about security, but performance is a big
issue, should I use Remoting or EnterpriseServices with DCOM to connect
my clients to my server?
Besides performance, what other advantages/disadvantages are there for
each of them, and what about Indigo?
Thanks ahead

Ram

4.Win32, DCOM and .NET Remoting, is possible?

I'm a server application that host Client Activated .NET Remoting objects,
there are any way of this objects be acessed by Win32 clients? Maybe using
DCOM?

My server application manage rules for the client activated objects
requested by clients.


5.Collection with both DCOM and .NET Remoting capabillity

The most common concept to make a custom strong-typed 
collection-class in VB .NET is to inherit from 
CollectionBase. However, CollectionBase doesn't seem to 
inherit from MarshalByRefobject somewhere in it's 
inheritence-chain and classes in VB .NET doesn't seem to 
be able to handle multiple inheritence. I have some 
facade-classes that both can be activated through a 
traditional DCOM approach (used by older unmanaged 
clients, one client is implemented in VB6) and a 
newer .NET Remoting approach (used by a newer .NET 
client). One of the facade objects returns a collection, 
this works with COM/DCOM but not with .NET Remoting. Is 
the only way to implement a collection-class from scratch 
and then make this to inherit from MarshalByRefObject? If 
so, how is it done so it also is fully COM-combatible and 
usable as a traditional collection-class by VB6?

6. .NET Remoting and DCOM

7. DCOM Remoting

8. COM+ vs .Net Remoting vs...



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 77 guest