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 8180861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:20:02+00:00 2026-06-07T00:20:02+00:00

I am creating a WCF WorkflowService and the client is making an async call

  • 0

I am creating a WCF WorkflowService and the client is making an async call to the service. The workflow is quite long running, once the client disconnects the connection (i.e. closes the application the request was made from), the workflow continues and doesn’t stop. How does this work? Once the cleint disconnect, doesn’t the service instance gets destroyed, and the workflow should stop?

Why is it by default behaving as “fire and forget”, i.e. one-way?

Edit: Well, i thought, once the client gets disconnected, the service instance is destroyed, and the workflow aborts

  • 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-06-07T00:20:05+00:00Added an answer on June 7, 2026 at 12:20 am

    A workflow engine models long-running asynchronous processes. Such processes can span second, hours, weeks and even years and may involve one or many participants. It is therefore unreasonable and undesirable to require a connection to be kept open.

    A Windows Workflow Service saves its state to some data store, usually a database, so that if nothing happens in that workflow for a specified amount of time, it can be saved to the database and unloaded from memory. In the future, when someone calls one of the WCF operations related to that workflow instance, it is revived from the database and execution continues as if it was always loaded in memory. This allows a great many workflow instances to exist at any single point in time where only a small part of them are actually taking up computer resources.

    Durability is also an important feature of a workflow service. If there is a workflow that has been going on for a long time, the last thing you want is all its state and data to be lost and that, if at all possible, you’ll need to start it all over again. This is why the state information of a workflow does not rely on something as fragile as a network connection.

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

Sidebar

Related Questions

We are creating a WCF service with a companion client DLL (.Net) that we
I have quite some trouble creating a WCF service that supports downloads of very
I'm trying to test a WCF service without creating a WCF client. I have
What is best practice for creating wrapper for WCF service call? I think it
I am creating a WCF service and Client application. I want to use the
I'm creating a WCF service which uses the .net framework 4 client profile dll.
I am having problems creating WCF client proxy for service code like in this
thanks for any assistance. I'm creating a wcf web service for an external client.
Currently I am creating a WCF service which has to connect to a DAL
I'm manually creating a WCF service that will act as a DAL and have

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.