Files to look at:
This example is an ASP.NET Core 3.1 backend application (server) for the DevExpress Web Dashboard. The server handles client data requests and includes various backend capabilities such as data access, dashboard storage, etc.
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
-
Refer to the article for information on how to configure backend for your needs.
-
Cross-Origin Resource Sharing (CORS)
The article describes how to configure corresponding permissions to access resources from a server at a different origin.
-
Install DevExpress Controls Using NuGet Packages
The following section contains information on how to install NuGet packages from the DevExpress NuGet feed.
- 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)