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),
}
);
on page https://elsa-workflows.github.io/elsa-documentation/elsa-studio.html#setup
In suggested Program.cs :
add :
using Elsa.Studio.Models;replace :
by :