Thursday, March 22, 2012

Web Service under other process

Can I create a web service that runs under something other than
aspnet_ws.exe? I would like to create my own process because when it
runs it needs a lot of memory but when it's done it can die.

Thank youIn IIS 6 you can run it in a separate application pool (it's still the
same process though).

What do you mean by "when it's done it can die"?
You can set up Remoting, instead, and have it listen to port 80 (provided
there is no web server on the box). It is a bit more involved on your end,
but the process can "die" once finished, other than the listener.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Antonio" wrote:

> Can I create a web service that runs under something other than
> aspnet_ws.exe? I would like to create my own process because when it
> runs it needs a lot of memory but when it's done it can die.
> Thank you
>
Even if you run it inside a different process it will require just as
much memory.

Are you using IIS 6.0? You can set the worker process to terminate
after a period of idle activity.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 8 Aug 2005 06:43:01 -0700, "Antonio" <blarfoc@.yahoo.com> wrote:

>Can I create a web service that runs under something other than
>aspnet_ws.exe? I would like to create my own process because when it
>runs it needs a lot of memory but when it's done it can die.
>Thank you
sure. create a commandline utility in .net, then have the webservice spawn
it. use stdin/stdout for communication.

-- bruce (sqlwork.com)

"Antonio" <blarfoc@.yahoo.com> wrote in message
news:1123508581.235810.188120@.g14g2000cwa.googlegr oups.com...
> Can I create a web service that runs under something other than
> aspnet_ws.exe? I would like to create my own process because when it
> runs it needs a lot of memory but when it's done it can die.
> Thank you
sorry for not saying, the server is Win2000 server running IIS5.

0 comments:

Post a Comment