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

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Other


Languages

Language:C# 100.0%