Alexandre Brisebois
Alexandre Brisebois

Reputation: 6743

What is the best solution? Using WF StateMachine to follow user states on a web application

I was looking at WF and was wondering if it would be best to use the StateMachine workflow to follow a users state. i.e. user is anonymous, user is known but not authenticated, user is known and authenticated.

would this be a good way to go about solving this regular issue?

Upvotes: 1

Views: 526

Answers (3)

David Robbins
David Robbins

Reputation: 10046

You might be interested in my SO answer regarding Stateless, a light weight .Net state machine. I have used this instead of WF and have implemented it in a web environment.

Upvotes: 0

Panos
Panos

Reputation: 19142

No, I think that it is completely inappropriate. Please see these questions for more info:

Upvotes: 3

Sander
Sander

Reputation: 26374

In my experience, WF is far too heavyweight for any such use - it is too difficult to do simple things with it. It is useless for this scenario.

I'd certainly be interested in opposite experiences, though - has anyone successfully used WF on a small scale in a simple project? Workflows and state machines are integral parts of any logical business domain but I have never seen a straightforward implementation of WF or any other framework for it.

Upvotes: 0

Related Questions