Skip to content

An ASP.NET Core backend application (server) for the DevExpress BI Dashboard. The app targets .NET 6.0.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/asp-net-core-dashboard-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for ASP.NET Core - Backend

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.

Quick Start

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.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)