Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Elsa Integration Issues #11586


User avatar
0
mightyit created

Product Version: 11.1 Product Type: MVC + Jquery Framework: .Net Core

I am trying to integrate with Elsa in our solution. However I have come across a few problems and cannot seem to make it work. I believe this is due to the fact that the guide and demo project are outdated. The guide and demo project are for .Net 5 and the Elsa packages are version 2.0.0.159.

I cannot due to various package dependencies use the Elsa packages of that version in our solution. The earliest version I am able to use is 2.5.0. Elsa has made some changes to their solution and packages since 2.0.0.159 most notably to the Webhook Definitions List class which is required according to the documentation to register Elsa controllers in the Asp Net Zero dependency injection system.

The class has now been moved to a different package: Elsa.Webhooks.Api I made the adjustment to the Initialize method in the WebMvcModule

This is how the workflow page looks

and there are errors in the console

This is what my Program.cs looks like

It seems like either the controllers and razor pages aren't being registered correctly due to some difference between the demo/documentation elsa package versions and the version I am trying to use, or the embedded static files are not being loaded correctly.

Has anyone managed to get the elsa integration working on .Net 6? If so how were you able to get it to work?

Any help would be appreciated.


4 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @mightyit,

    We are planning to publish a blog about Elsa and update the docs as soon as possible.

  • User Avatar
    0
    mightyit created

    Thank you for the response.

    The integration with Elsa was a key factor in our decision to use ASP.NET Zero, and we are eagerly anticipating the updated documentation to proceed with a feature development plan that heavily relies on utilizing Elsa within the framework. Our project timeline and deliverables are dependent on the availability of these resources.

    Given the criticality of this feature to our project, I kindly request that you provide me with a more specific estimated time of arrival (ETA) for the updated documentation. This will enable us to effectively plan our development efforts and allocate resources accordingly.

    I understand that unforeseen challenges can arise, but having a general timeframe or a rough estimate would greatly assist us in managing expectations internally and communicating with our stakeholders.

  • User Avatar
    0
    mightyit created

    Hi @mightyit,

    We are planning to publish a blog about Elsa and update the docs as soon as possible.

    Hi @m.aliozkaya

    Are there any updates to this?

    Kind regards

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi mightyit,

    Could you check this blog post, I hope it helps you.

    https://aspnetzero.com/blog/integrating-elsa-with-asp.net-zero