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

  • SEARCH
  • Home
  • 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 8844553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:31:02+00:00 2026-06-14T11:31:02+00:00

I’m at the investigative stage for Workflow Service and WPF. Having State Machine WF

  • 0

I’m at the investigative stage for Workflow Service and WPF.

Having State Machine WF Service hosted in IIS and one or more WPF clients talking to the WF Service sounds reasonable choice so far.

However, although days of reading and research it isn’t clear to me what would be the best strategy for tracking the transfer between states from WPF app.

There’re numerous samples of tracking participants but most of them are based on One process scenario.

So I am thinking of a structure as below.

  1. A server-side WCF operation that any client calls to register its client-side endpoint
  2. A custom tracking participant that goes through all registered client-side endpoints and sends TrackingRecord at it’s Track() method.

Advantage of this approach is that it allows real time update of the states without extra layers like ETW. Another advantage is that it allows decoupling of the logic (or maybe model layer) from the presentation layer.

Can anyone share the opinion over the above structure?
I would also welcome any suggestions for achieving the goal.


[EDIT]
To make my idea above more detailed and clear, below steps would be a typical usage.

1) (WPF client) contains and opens a WCF endpoint for receiving TrackRecords.

2) (WF Service) opens a WCF operation (or a simple WF instance with a Receive message) that registers client-side address to an internal store.

3) (WF Service) a custom tracking participant is created and added that will send TrackingRecord to the registered clients’ endpoints.

4) (client) connects to the above service and hands out client-side endpoint mentioned at step 1 and consequently receives TrackingRecords.


[ EDIT 2 ]

To put my goal in simple terms, I’d like to know

1) the most efficient way of tracking the StateMachine’s state on a WF Service (IIS) + WPF or any types of client app through TrackingParticipant.

2) if my suggestion can be improved

Meanwhile, I have implemented this and works good so far. I also added MvvM Light framework’s messaging feature at the client-side so that it propagate the received message to the models easily.

  • 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-14T11:31:03+00:00Added an answer on June 14, 2026 at 11:31 am

    You might take a look at SignalR instead of trying to force WCF to become a pub/sub platform which is not it’s strength. There is an example on my blog with the visual tracking example with the tracking participant split out from the tracking application so it’s not all in one process. That blog also has links to two other blogs where similar things were done, but all using a messaging architecture more suitable to events like this.

    http://panmanphil.wordpress.com/2012/11/05/slides-and-sample-from-the-chippewa-valley-code-camp/

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
I'm making a simple page using Google Maps API 3. My first. One marker
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Let's say I'm outputting a post title and in our database, it's Hello Y’all

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.