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 4830
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.ServiceP rocess.ServiceC ontroller 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.Messagin g.MessageQueue to send this
info (to the Windows Service).
Hope this helps
Jay
"pokémon" <po**@mon.com > wrote in message
news:%c******** **********@nwrd ny01.gnilink.ne t... 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********@ema il.msn.com> wrote in message
news:OQ******** ******@TK2MSFTN GP12.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.ServiceP rocess.ServiceC ontroller 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.Messagin g.MessageQueue to send
this info (to the Windows Service).
Hope this helps Jay
"pokémon" <po**@mon.com > wrote in message news:%c******** **********@nwrd ny01.gnilink.ne t... 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******** *********@nwrdn y03.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********@ema il.msn.com> wrote in
message news:OQ******** ******@TK2MSFTN GP12.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.ServiceP rocess.ServiceC ontroller 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.Messagin g.MessageQueue to send this info (to the Windows Service).
Hope this helps Jay
"pokémon" <po**@mon.com > wrote in message news:%c******** **********@nwrd ny01.gnilink.ne t... 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 blocks until
something.exe terminates. Just what I /don't/ want. (Wouldn't an & be
nice here! Sigh)
I need something.exe to disconnect and run in the background while I
|
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 script timeout, but that
doesn't handle situations where 1) safe mode is on, or 2) Apache's
timeout is exceeded. These mailings go out to between 5000 and 10000
email addresses, so timeouts are a concern.
It seems to me that the best thing to do...
|
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 <pid> does the
java dump for a process runiing in the fore-ground, however it is
ignored by a process running in the background. So how do i do that? I
might not be able to keep the window open that started the actual java
process as this could...
|
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, named fetchmyweather.pl. This
script retrieves a string from an noaa weather station and inserts it into a
mysql db, then sleeps for an hour, and repeats indefinitely. Nothing heavy
and it's ok with my provider.
2) created a second 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 sections, each of which could have it's own
background process. Given that any user should be able to inquire against
the current status of a process thread, I don't know how to keep a reference
to it unless I just put it into Global.asax, which...
| |
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 I create? Windows App?
Also, how would the Web Service talk to the background process?
|
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 basically run it as a background process.
To provide this functionality, I made a unique php script to handle the mail functions, and I call it from within the main script like something to the effect of:
system("/usr/local/bin/php ./mail.php arg1...
|
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 result in a notification for the user and an involved company.
Sending the notifications can take some seconds but the user shouldn't
need to wait for the page. So the only way to handle this is AFAIK to do
some background processing that is not...
|
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 completes, a Byte buffer needs to be sent to the main Form. I'm using BackgroundWorker, and my read loop is in BackgroundWorker_DoWork. I start the background process by calling RunWorkerAsync().
My question is this: is it better coding practice to...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |