Skip to main content

DashboardBackendOptionsBuilder.Uri(String) Method

Specifies the URL used by the DashboardControl to send data requests to a server.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll

Declaration

public DashboardBackendOptionsBuilder Uri(
    string uri
)

Parameters

Name Type Description
uri String

A String object that specifies the endpoint URL prefix used to send data requests to a server.

Returns

Type Description
DashboardBackendOptionsBuilder

A reference to this instance after the operation has completed.

Remarks

The Uri option specifies an address where the server is hosted. For MVC or ASP.NET Core back-end, the url is used as a prefix (e.g., api/dashboard) when you map a dashboard route. Use the following methods to set a prefix:

See Also