elsa-workflows / elsa-workflows/elsa-guides

Wrong documentation for Elsa packages 3.3.4

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

Description

on page https://elsa-workflows.github.io/elsa-documentation/elsa-studio.html#setup

In suggested Program.cs :

add :
```using Elsa.Studio.Models;```

replace :
```
builder.Services.AddRemoteBackend(
elsaClient => elsaClient.AuthenticationHandler = typeof(AuthenticatingApiHttpMessageHandler),
options => configuration.GetSection("Backend").Bind(options));
```

by :
```
builder.Services.AddRemoteBackend(
new BackendApiConfig
{
ConfigureBackendOptions = options => configuration.GetSection("Backend").Bind(options),
ConfigureHttpClientBuilder = options =>
options.AuthenticationHandler = typeof(AuthenticatingApiHttpMessageHandler),
}
);
```

Contributor guide

Open the contributing guide

Research direction

Open the Elsa Studio setup page and locate the suggested Program.cs example for Elsa packages 3.3.4. Check the referenced package API, then update the example with the required Elsa.Studio.Models import and current AddRemoteBackend form. Done means the documentation matches the 3.3.4 API and the setup snippet is usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.