reMVC Storefront Part 19

time to read 1 min | 194 words

Rob Conery has another MVC Storefront post, this time focusing on using Windows Workflow.

Those are my random impressions:

  • You probably do want to test your work flow. In the same way you want to have an integration test for the system.
  • The sequence work flow seems to be a very heavy weight approach to just orchestrating actions in the application.
  • I wonder what the perf implications of creating a workflow here would be. My gut feeling is that this is not good, but I don't really have data for that.
  • There is probably an issue here with the WF being run in async, I am not sure where it is getting its threads, but if it is from the thread pool, then it is consuming request handling threads, which can kill a site.

As an aside, here is the checkout workflow:

image

And here is how I would write this:

ValidateOrder()
AuthorizePayment()
order.Status = OrderStatus.Verified
SaveOrder()

Much easier, I think :-) And even more flexible.

More posts in "re" series:

  1. (29 Sep 2025) How To Run AI Agents Natively In Your Database
  2. (22 Sep 2025) How To Create Powerful and Secure AI Agents with RavenDB
  3. (29 May 2025) RavenDB's Upcoming Optimizations Deep Dive
  4. (30 Apr 2025) Practical AI Integration with RavenDB
  5. (19 Jun 2024) Building a Database Engine in C# & .NET
  6. (05 Mar 2024) Technology & Friends - Oren Eini on the Corax Search Engine
  7. (15 Jan 2024) S06E09 - From Code Generation to Revolutionary RavenDB
  8. (02 Jan 2024) .NET Rocks Data Sharding with Oren Eini
  9. (01 Jan 2024) .NET Core podcast on RavenDB, performance and .NET
  10. (28 Aug 2023) RavenDB and High Performance with Oren Eini
  11. (17 Feb 2023) RavenDB Usage Patterns
  12. (12 Dec 2022) Software architecture with Oren Eini
  13. (17 Nov 2022) RavenDB in a Distributed Cloud Environment
  14. (25 Jul 2022) Build your own database at Cloud Lunch & Learn
  15. (15 Jul 2022) Non relational data modeling & Database engine internals
  16. (11 Apr 2022) Clean Architecture with RavenDB
  17. (14 Mar 2022) Database Security in a Hostile World
  18. (02 Mar 2022) RavenDB–a really boring database