This example is an ASP.NET Core 6.0 backend application (server) for the DevExpress Web Dashboard. The server handles client data requests and includes backend capabilities such as data access, dashboard storage, and so on.
This server contains a dashboard connected to a JSON data source. The data source obtains data from the following connection: https://raw.githubusercontent.com/DevExpress-Examples/DataSources/master/JSON/customers.json
.
Warning This application does not have any views. Configure and launch a client application to display data from this server.
Run the following command to start server:
dotnet run
See the following section for information on how to install NuGet packages from the DevExpress NuGet feed: Install DevExpress Controls Using NuGet Packages.
This server allows CORS requests from all origins with any scheme (http or https). This default configuration is insecure: any website can make cross-origin requests to the app. We recommend that you specify the client application's URL to prohibit other clients from accessing sensitive information stored on the server. Learn more: Cross-Origin Resource Sharing (CORS)
In the client application, set the following URL as an endpoint:
http://localhost:5000/api/dashboard
To debug the server, run the AspNetCoreDashboardBackend application in Visual Studio and change the client's endpoint
property according to the listening port: https://localhost:44395/api/dashboard
.
- Dashboard Backend
- Cross-Origin Resource Sharing (CORS)
- Install DevExpress Controls Using NuGet Packages
- Get Started - Client-Side Dashboard Application (Angular)
- Get Started - Client-Side Dashboard Application (React)
- Get Started - Client-Side Dashboard Application (Vue)
(you will be redirected to DevExpress.com to submit your response)