[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

Which form should I choose to build client application?

zhenghuan

6/30/2004 9:12:00 AM


??????????????????????????????????????????
?ú ??D'µà?o

I read the book named <<Microsoft.NET Remoting>>,in which it mentioned we can use http channel in WAN,and Tcp Channel in LAN,and we can custom proxy to achieve it auto. But I wonder which form of client application should I use,web based or winForm based? Because if I use web based application as asp.net, then I could use http channel.While I use the winForm application,I can use Tcp channel. which form of client application could make me do it auto? Can some friend help me?

?? à???
zhenghuan
wzhaaaaa@hotmail.com

2 Answers

Sunny

6/30/2004 2:31:00 PM

0

Hi,

you can use whatever combination of channels/formatters. Your desision
will be based on the network conditions. Basically:

1. Internet (with firewalls and proxies) - HTTP channels with Binary
formatter is the way to go. Please, note that the build-in HTTP channels
do not work very well with proxies/firewalls if you are going to use
events or other callbacks, so you should look for third party channels.

2. Internet (but no proxies/firewalls, which is very unusual) - you can
use TCP channels

3. Intranet/LAN - TCP.

As I said, this is very basic start point, but fits most of the
situations.

The choice of the channels does not depend on the type of the
application you are using - winform, web app, console app, windows
service.


Sunny


In article <OgLP9JoXEHA.3420@TK2MSFTNGP12.phx.gbl>, wzhaaaaa@hotmail.com
says...
>
> &#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?&#169;?
> ?? ?&#172;??&#181;???
>
> I read the book named <<Microsoft.NET Remoting>>,in which it mentioned we can use http channel in WAN,and Tcp Channel in LAN,and we can custom proxy to achieve it auto. But I wonder which form of client application should I use,web based or winForm based? Because if I use web based application as asp.net, then I could use http channel.While I use the winForm application,I can use Tcp channel. which form of client application could make me do it auto? Can some friend
help me?
>
> ?? ????
> zhenghuan
> wzhaaaaa@hotmail.com
>
>

zhenghuan

7/1/2004 2:57:00 AM

0

Hello Sunny
Thank your help.I want to develop a p2p application,which could change the different channel auto depending on the location of the user.When the user is inside the firewall then use the Tcp-channel,otherwise use Http-channel.Accroding what you said,I can do it with winForm application. I hope I don''t misunderstand your suggestion.
??????????????????????????????????????????
?&#250; Wed, 30 Jun 2004 09:31:15 -0500 ??SunnyD'µ&#224;?o
>Hi,
>
>you can use whatever combination of channels/formatters. Your desision
>will be based on the network conditions. Basically:
>
>1. Internet (with firewalls and proxies) - HTTP channels with Binary
>formatter is the way to go. Please, note that the build-in HTTP channels
>do not work very well with proxies/firewalls if you are going to use
>events or other callbacks, so you should look for third party channels.
>
>2. Internet (but no proxies/firewalls, which is very unusual) - you can
>use TCP channels
>
>3. Intranet/LAN - TCP.
>
>As I said, this is very basic start point, but fits most of the
>situations.
>
>The choice of the channels does not depend on the type of the
>application you are using - winform, web app, console app, windows
>service.
>
>
>Sunny
>
>
>In article <OgLP9JoXEHA.3420@TK2MSFTNGP12.phx.gbl>, wzhaaaaa@hotmail.com
>says...
>>
>> ?????????????????????
>> ?? ??????
>>
>> I read the book named <<Microsoft.NET Remoting>>,in which it mentioned we can use http channel in WAN,and Tcp Channel in LAN,and we can custom proxy to achieve it auto. But I wonder which form of client application should I use,web based or winForm based? Because if I use web based application as asp.net, then I could use http channel.While I use the winForm application,I can use Tcp channel. which form of client application could make me do it auto? Can some friend
>help me?
>>
>> ?? ????
>> zhenghuan
>> wzhaaaaa@hotmail.com
>>
>>

??????????????????????????????????????????

?? &#224;???
zhenghuan
wzhaaaaa@hotmail.com