Use WWF - Windows Workflow Foundation or Similar Workflow tools in current latest .NET CORE application?

Einstein Ravi 0 Reputation points
2024-06-10T17:51:21.7533333+00:00

Dear Team - WWF - Windows Workflow Foundation in current/latest .NET CORE application

My current project is much secured and contains NATIONAL SECURE DATA, so customer is bit hesitant to go with Workflow tools like ELSA Workflow etc as those are opensource...

[OR]

Is there any possibility to use MS WWF to call HTTP Web Api Method which is in .NET CORE..I am totally confused.

Kindly help.

Thanks -

Einstein G

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 50,591 Reputation points
    2024-06-10T18:16:32.74+00:00

    You can call any API you want in WWF. It doesn't matter what the server on the API backend is implemented in. It has no bearing on the ability to call it. Think about popular APIs you might be using today such as Twitter, Facebook, Azure, AWS, etc. Who knows what language(s) they are written in. Provided you can call an HTTP (REST) API then the API server language isn't relevant. For .NET the class you need to call an HTTP API is HttpClient and that type is available in all framework versions, albeit with a few differences depending on your framework you are running on.

    More importantly VS can auto-generate the necessary code if the API implements OpenAPI. You can access that by going to Connected Services in your project node of Solution Explorer.

    But using WWF is not recommended, unless you already have a working solution. WWF is getting left behind in a NET Core world. If you're still using NET Framework then it is still available but you won't be able to migrate that code to NET Core when you're ready as it doesn't support WWF. MS hasn't really mentioned they are deprecating it that I'm aware of but it isn't getting any attention, it isn't installed by default with VS and there is no Core equivalent. There is a third party Github project to port it to NET Core so use at your own risk.


  2. Bruce (SqlWork.com) 60,386 Reputation points
    2024-06-10T22:18:24.3833333+00:00

    these is no plan to port windows workflow to .net core. there is an open source port, but is not supported by Microsoft.

    a Microsoft supported product would be an azure product, like durable functions or azure logic apps.