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? 4 4781
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?
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?
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?
Hi all,
How can i controler backgroud process with javascript?
It´s a possible?
Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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,...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |