Technically speaking, you're not really "using tcp with iis".  IIS/ASP.NET
is just providing a process to host your code in (aspnet_wp.exe).  The
method call messages are taking different routes to get to the client &
server.  The picture looks something like this...

INETINFO.EXE, bound to port 80, handles incoming http requests and,
recognizing the .soap extension, routes the request to aspnet_wp.exe via
named pipes for ASP.NET to handle.

ASPNET_WP.EXE is hosting the server dll being invoked and, as a result of
parsing web.config using RemotingConfiguration.Configure, also contains an
instance of the tcp channel that's listening on port 8080 (in my example).

So remoting requests from the client routed over http are sent to INETINFO
on port 80 on the server machine, which passes the request over to
ASPNET_WP.EXE to handle.  The IHttpHandler for the .soap extension then does
its thing to route the method call request to the object.  Remoting requests
from the client routed over tcp, on the other hand, go directly to
ASPNET_WP.EXE on port 8080, where they're handled by the remoting
infrastructure in the normal fashion without the side-trip through IIS.

-Mike
http://staff.develop.com/woodring
http://www.develop.com/devresources

----- Original Message -----
From: "Peter Laan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 12, 2002 10:27 AM
Subject: Re: [DOTNET] Remoting on Tcp and Http


> So you can use Tcp with IIS? I found some messages in the archives that
> seemed to say that it didn't work. But I'll give it a try.
>
> http://discuss.develop.com/archives/wa.exe?A2=ind0112C&L=DOTNET&P=R31947
>
> Peter
>
> From: "Mike Woodring" <[EMAIL PROTECTED]>
> > If you're using IIS/ASP.NET to host your remoting component, then just
add
> > an extra channel element to your web.config and the client configuration
> > files so that the tcp channel is registered on some port in addition to
> the
> > http channel.
> >
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to