all groups > dotnet distributed apps > february 2005 >
You're in the

dotnet distributed apps

group:

TcpChannels


TcpChannels David Young
2/28/2005 12:04:55 PM
dotnet distributed apps:
Ok, I'm creating a TcpChannel using the following namespace:

System.Runtime.Remoting.Channels.Tcp

I get a compiler error stating that the namespace couldnt be found. It does
find System.Runtime.Remoting.Channels namespace.

I'm using the 1.1 framework (1.1.4322) MSDN shows the namespace exists. Do
I need to add some additional reference?

David Young

Re: TcpChannels David Young
3/1/2005 8:09:03 PM
Got the answer, you have to add another reference.

dave
[quoted text, click to view]

Re: TcpChannels netnews.microsoft.com
3/2/2005 2:09:25 AM
If you are using a config file for remote config then there is a change in
how you reference the server channel in the config file. I'll look for an
example and maybe post.



[quoted text, click to view]

Re: TcpChannels netnews.microsoft.com
3/2/2005 2:40:00 AM
Remote config changes between v1.0 and 1.1 of framework.

new server side remote config for channel

<channels>
<channel ref="tcp" port="8444" displayName="TCP Channel [Remote Service]"
/>
</channels>

This is a change from the fully qualified channel config entries needed
before
framework version 1.1
used to be something like this:
<channels>
<channel type="[fully_qualified_type_name], [fully_qualified_assem_name],
Version=[version_number], Culture=[Culture],
PublicKeyToken=[PublicKeyToken]" />
</channels>

this is because in the first example you you are actually referencing a key
in the machine config file (the ref attribute).

[quoted text, click to view]

Re: TcpChannels David Young
3/2/2005 9:32:27 PM
Thanks, I got it working.

I needed to add a reference to the System.Runtime.Remoting.dll



"netnews.microsoft.com" <twells43@_NO_SPAMING_HERE_comcast.net> wrote in
message news:uGou9QxHFHA.2924@TK2MSFTNGP15.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button