Use code instead of the packages #906
-
Hello, I would like to use the code instead of the packages, is it possible ? This request is because I want to use my own activities and remove the existing ones. I tried to remove the "usings" from "Startup.cs" and the ".AddHttpActivities", ".AddEmailActivities", etc. but the activities are always there in the Designer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
That is certainly possible. You could fork the project and make any changes you want. However, it might be more interesting still to use the packages, since they would include new features and bug fixes. You can still get those by updating your fork of course, but might be less convenient. When using the packages, you can still add your own activities without changing Elsa itself. Regarding the ability to not use any of the existing activities, you can make that work too. All you would have to do from your own startup class is call this: services.AddElsa(elda => elsa.NoCoreActivities()) PS. This is all Elsa 2. For Elsa 1, you would have to fork the project. |
Beta Was this translation helpful? Give feedback.
That is certainly possible. You could fork the project and make any changes you want.
However, it might be more interesting still to use the packages, since they would include new features and bug fixes. You can still get those by updating your fork of course, but might be less convenient.
When using the packages, you can still add your own activities without changing Elsa itself.
Regarding the ability to not use any of the existing activities, you can make that work too. All you would have to do from your own startup class is call this:
PS. This is all Elsa 2. For Elsa 1, you would have to fork the project.