Re: .Net Remoting TCP or HTTP?
From: John Puopolo (john.puopolo_at_fastsearch.com.nospam)
Date: 01/25/05
- Next message: Ravi Chodavarapu: ".NET Remoting and Windows Service"
- Previous message: John Olbert: "Spy or trace program for .NET Remoting"
- In reply to: André: ".Net Remoting TCP or HTTP?"
- Next in thread: Ken Kolda: "Re: .Net Remoting TCP or HTTP?"
- Reply: Ken Kolda: "Re: .Net Remoting TCP or HTTP?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 Jan 2005 17:52:19 -0500
Andre:
In terms of using TCP directly or HTTP, the choice really revolves around
the source system, the target system and what's in between. If the client
and server are both .NET and you do not need to worry about firewalls in
between them, use the TCP channel with a binary formatter (the default).
This scheme will not work, however, if one of the endpoints is not .NET or
if there are firewalls in between the endpoints. The firewalls (or some
routers) will reject traffic not originating or destined to port 80.
In these cases, you still have an "efficiency" option. You can send
binarized data over the HTTP channel. This won't be quite as efficient as
sending the information over the TCP channel directly, but it does offer a
nice balance of speed and flexibility.
I have not hsed the genuine channels product, but I have seen mention of it
around the remoting newsgroups. I believe it is a set of classes that
simplifies using remoting channels, and implements "difficult to implement"
functionality such as remoting callbacks, etc. I am interested to see other
repsonses to this part of you question as a way of learning a little bit
more about what it does and perhaps how it works.
Hope this helps,
John Puopolo
"André" <Andr@discussions.microsoft.com> wrote in message
news:A80ED776-BE75-4AC9-B232-772E0F2F3D25@microsoft.com...
> Hi,
>
> I'm new to .Net Remoting, I am wondering what should I use for my channel,
> TCP or HTTP.
>
> Can someone tell me why I would use one over the other? And in what cases
> will I use TCP over HTTP and vice versa
>
> I am using C# .net. I am behind a firewall; this app will be for a few
> hundred users over a WAN, internal only. Better performance is what I'm
> looking for.
>
> What I'm trying to build is a middle ware for my windows app's to connect
> to, and the remoting server will talk to Oracle database and return the
data
> to the client.
>
> And. does anyone know about http://www.genuinechannels.com/ what is this?
> And why would I need this?
>
- Next message: Ravi Chodavarapu: ".NET Remoting and Windows Service"
- Previous message: John Olbert: "Spy or trace program for .NET Remoting"
- In reply to: André: ".Net Remoting TCP or HTTP?"
- Next in thread: Ken Kolda: "Re: .Net Remoting TCP or HTTP?"
- Reply: Ken Kolda: "Re: .Net Remoting TCP or HTTP?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|