Skip to content

ServiceCollectionExtensions.AddDashboard(IClientBuilder, Action<DashboardOptions>)

AddDashboard(IClientBuilder, Action<DashboardOptions>)

staticextension
View source
public static IClientBuilder AddDashboard(this IClientBuilder clientBuilder, Action<DashboardOptions>? configureOptions = null)
Adds Orleans Dashboard services to an Orleans client builder. This allows you to host the Orleans Dashboard application on an Orleans client, so long as the silos also have the dashboard added.

Parameters

clientBuilderIClientBuilder
The client builder.
configureOptionsAction<DashboardOptions>
Optional configuration action for DashboardOptions.

Returns

The client builder for method chaining.

Exceptions

System.ArgumentNullException
clientBuilder is null.