elsa-workflows / elsa-workflows/elsa-samples

Suggestion and Request sample building on old technologies

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
113
Forks
95
PR merge metrics
No merged PRs in 30d

Description

Dear @sfmskywalker

I have studied your code on different level/projects. You have done brilliant work. But there is one issue with your code is you are following all modern trends. Your sample are on latest frameworks which is not bad at all and should be with latest framework to use modern technologies. A lot of companies/farms are not even switched to .Net Core. Majority are using old Asp.net MVC on .net framework.

Please when creating samples use older technologies. As Elas cannot be directly used in .net framework based applications. People have to use Elsa as a service in that case.

**For Example:** User registration workflow sample [Here](https://github.com/elsa-workflows/elsa-samples) is using Blazor and you have injected Elas directly which is fine with Blazor/.net core but not with Asp.net MVC 5.0/.net framework. You have shown how to trigger a SignalActivity by using workflow invoker. but How to do this in Asp.net MVC 5.0. Code sample from User registration workflow

```
private async Task HandleFormSubmission()
{
var input = new Variables();
input.SetVariable("RegistrationModel", registrationModel);

await WorkflowInvoker.TriggerSignalAsync("RegisterUser", input);
ShowConfirmation = true;
}
```
Excuse my English

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.