1

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?

Alexandre Brisebois
  • 6,599
  • 12
  • 50
  • 69

3 Answers3

3

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

Community
  • 1
  • 1
Panos
  • 18,992
  • 6
  • 45
  • 54
0

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.

Sander
  • 25,685
  • 3
  • 53
  • 85
  • 1
    I've recently see a webcast on the wf statemachine which was used to create a shopping cart application. I am worried about performance issues, but it did seem interesting. – Alexandre Brisebois Sep 26 '08 at 13:24
0

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.

Community
  • 1
  • 1
David Robbins
  • 9,996
  • 7
  • 51
  • 82