HighTechTalks DotNet Forums  

Default Channels Precreated?

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss Default Channels Precreated? in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Spam Catcher
 
Posts: n/a

Default Default Channels Precreated? - 10-10-2006 , 09:19 AM






Hi all,

I'm a bit stumped - I created a new .NET 2.0 remoting project, and there
seems to be a "HTTP Client" channel that is pre-registered.

Does anyone know why the channel is precreated?

My .config file does not have any channel setup information - everything
was done in code.

Anyone have an idea where this channel is being created?

Reply With Quote
  #2  
Old   
Spam Catcher
 
Posts: n/a

Default Re: Default Channels Precreated? - 10-10-2006 , 09:33 AM






Spam Catcher <spamhoneypot (AT) rogers (DOT) com> wrote in
news:Xns98585ED536F8Dusenethoneypotrogers (AT) 127 (DOT) 0.0.1:

Quote:
Hi all,

I'm a bit stumped - I created a new .NET 2.0 remoting project, and there
seems to be a "HTTP Client" channel that is pre-registered.

Does anyone know why the channel is precreated?

My .config file does not have any channel setup information - everything
was done in code.

Anyone have an idea where this channel is being created?

Found the problem - I called Activator.GetObject in one of my classes - and
this was being executed before my channel creation. It seems although no
outbound connection is made - Activator.GetObject pre-creates channels if
non-exists.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.