Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7185025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:19:25+00:00 2026-05-28T18:19:25+00:00

I have a worker process that is executed via a Windows service (vb.net). It

  • 0

I have a worker process that is executed via a Windows service (vb.net). It executes every 5 minutes and checks a “jobs” table in a database. I also have a web application (asp.net vb) that allows users to “pause” currently running jobs in the case of an error.

What is the best way for the web application to signal the Windows service to stop processing? They are running on the same machine, however if you have a suggestion for if they were running on different machines that would be great.

I would like to avoid database or filesystem calls to check a “status” during every iteration.

I have a database which stores custom info for each worker process – I could store a thread ID or process ID if it is retrievable via .Net to enable the Web application to message the service application?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:19:26+00:00Added an answer on May 28, 2026 at 6:19 pm

    You probably want to make your service a WCF server.

    Then you can communicate with it from your web app or wherever is convenient. You can also provide a progress / feedback API as well as a command / control API – it’s up to you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say, I have a worker that's set up to run every 15 minutes using
I have a WPF application that executes external programs to process media files, and
Background I have a Windows service that uses various third-party DLLs to perform work
I have one website on my server, and my IIS Worker Process is using
I have a manager process on a node, and several worker processes. The manager
I have a worker thread that is listening to a TCP socket for incoming
I have a worker thread in a class that is owned by a ChildView.
Sockets on Linux question I have a worker thread that is blocked on an
The main idea is that I have several worker instances of a Rails app,
I have a co-worker that maintains that TRUE used to be defined as 0

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.