Web Service under other process

  • Thread starter Thread starter Antonio
  • Start date Start date
A

Antonio

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
 
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!
***************************
 
In 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"?
 
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.
 
sure. create a commandline utility in .net, then have the webservice spawn
it. use stdin/stdout for communication.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top