473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

how to implement a background process?

Ok, I want to implmement a "backgound process", but the catch is this:

I want to control it via a Web Service, that is to say, the Web Service will
be its API.

What type of application should I create? Windows App?

Also, how would the Web Service talk to the background process?
Jul 19 '05 #1
4 4780
pokémon,
I'm assuming by 'background process' you mean something that continuously
runs working on something.

Have you considered a Windows Service, that the Web Service uses .NET
Remoting or MessageQueues to talk to it.

You can use can use System.ServiceProcess.ServiceController to control a
Windows Service if you do not need to communicate a large number of
parameters. If you have lots of data/parameters to communicate then I would
consider using .NET Remoting or a System.Messaging.MessageQueue to send this
info (to the Windows Service).

Hope this helps
Jay

"pokémon" <po**@mon.com> wrote in message
news:%c******************@nwrdny01.gnilink.net...
Ok, I want to implmement a "backgound process", but the catch is this:

I want to control it via a Web Service, that is to say, the Web Service will be its API.

What type of application should I create? Windows App?

Also, how would the Web Service talk to the background process?

Jul 19 '05 #2
Thanks, Jay,

I think Messaging Queuing might not be my choice, since I don't like the
asynch nature of it for this particular app.

Is configuring a web service as a remoting client the same as any other
remoting client, or are there other considerations?
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message
news:OQ**************@TK2MSFTNGP12.phx.gbl...
pokémon,
I'm assuming by 'background process' you mean something that continuously
runs working on something.

Have you considered a Windows Service, that the Web Service uses .NET
Remoting or MessageQueues to talk to it.

You can use can use System.ServiceProcess.ServiceController to control a
Windows Service if you do not need to communicate a large number of
parameters. If you have lots of data/parameters to communicate then I would consider using .NET Remoting or a System.Messaging.MessageQueue to send this info (to the Windows Service).

Hope this helps
Jay

"pokémon" <po**@mon.com> wrote in message
news:%c******************@nwrdny01.gnilink.net...
Ok, I want to implmement a "backgound process", but the catch is this:

I want to control it via a Web Service, that is to say, the Web Service

will
be its API.

What type of application should I create? Windows App?

Also, how would the Web Service talk to the background process?


Jul 19 '05 #3
pokémon,
Is configuring a web service as a remoting client the same as any other
remoting client, or are there other considerations? As far as I know its the same.

Hope this helps
Jay

"pokémon" <po**@mon.com> wrote in message
news:Yl*****************@nwrdny03.gnilink.net... Thanks, Jay,

I think Messaging Queuing might not be my choice, since I don't like the
asynch nature of it for this particular app.

Is configuring a web service as a remoting client the same as any other
remoting client, or are there other considerations?
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message news:OQ**************@TK2MSFTNGP12.phx.gbl...
pokémon,
I'm assuming by 'background process' you mean something that continuously runs working on something.

Have you considered a Windows Service, that the Web Service uses .NET
Remoting or MessageQueues to talk to it.

You can use can use System.ServiceProcess.ServiceController to control a
Windows Service if you do not need to communicate a large number of
parameters. If you have lots of data/parameters to communicate then I

would
consider using .NET Remoting or a System.Messaging.MessageQueue to send

this
info (to the Windows Service).

Hope this helps
Jay

"pokémon" <po**@mon.com> wrote in message
news:%c******************@nwrdny01.gnilink.net...
Ok, I want to implmement a "backgound process", but the catch is this:

I want to control it via a Web Service, that is to say, the Web
Service will
be its API.

What type of application should I create? Windows App?

Also, how would the Web Service talk to the background process?



Jul 19 '05 #4
Hi all,
How can i controler backgroud process with javascript?

It´s a possible?
Thanks
Jul 28 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Alan Walkington | last post by:
Folks: How can I get an /exec'ed/ process to run in the background on an XP box? I have a monitor-like process which I am starting as 'exec("something.exe");' and, of course the exec function...
5
by: Joshua Beall | last post by:
Hi All, I am working on a mailing list program for a client, and I am wondering what tbe hest way to deal with script timeouts is. I realize that I could use set_time_limit() to increase the...
1
by: Ravi Tallury | last post by:
Hi We are running a java process in the background on a aix 5.2, jdk1.31. The jvm core dumps on occasion and i would like to debug the issue. Reading through documentation, issuing the kill -30...
3
by: Jenkins | last post by:
I want to start a perl pgm in the background on my hosts web server as a stand-alone process. I only have ftp access. What I've done, so far, is: 1) created the actual background perl script,...
2
by: Paul Hatcher | last post by:
I have an ASP.NET application that uses a background threads to perform a long-running process. What I'm not sure is how to track and communicate with the thread. The site is divided up into...
6
by: pokémon | last post by:
Ok, I want to implmement a "backgound process", but the catch is this: I want to control it via a Web Service, that is to say, the Web Service will be its API. What type of application should...
1
by: hsmcdonald | last post by:
Hello all, I have a mail function that sends parsed information to an employee distribution list. I was trying to setup a process where the admin can initiate a letter to this list, and...
2
by: Hilmar Bunjes | last post by:
Hi, I'm working on a web application in ASP.NET 3.5 and need some help with processing stuff in the background. The user who visits a web page can make reservations. Each reservation will...
0
by: rdzioba | last post by:
In my Forms application, I want to run a background loop that executes ReadFile (P/Invoke) continuously. ReadFile will block waiting for data (to arrive from a USB device) and when the read...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.