ASP.NET Core Application

This section describes how to create Syncfusion Dashboard Viewer ASP.NET Core application using Visual Studio project template.

The following steps help you to create the Syncfusion Dashboard Viewer ASP.NET Core Application.

Step 1. Select File > New > Project.

Step 2. Choose Templates > Visual C# > .NET Core >
Syncfusion Dashboard Viewer ASP.NET Core.

New Project with ASP.NET Core template

Step 3. Enter name in the name field to create Syncfusion Dashboard Viewer ASP.NET Core application.

Step 4. Click OK to open the ASP.NET Core project configuration wizard.

Project configuration

Choose the options to configure the Syncfusion Dashboard Viewer ASP.NET Core application by using the following project configuration dialog.

.NET Core Version: This drop-down is used to select .NET Core version.

Project Type: .NET Core as default.

Assets From: This drop-down list has an origin of the Dashboard viewer resource files that are downloaded from the selected option of this application.

Service URL: Denotes URL of dashboard service that will be used for processing the viewed dashboard file.

Dashboard Path: Denotes the dashboard file path which should be accessible with the given dashboard service link. If the dashboard service is hosted locally, then the dashboard file path should be an absolute location of the local machine. If the dashboard service is hosted on the remote machine, then the dashboard file path should be accessible at the given dashboard service.

For example: http://IPaddress:port/MySampleDashboard.sydx

ASP.NET Core Project Configuration Wizard

Step 5. When you click the create button, the Syncfusion Dashboard Viewer ASP.NET Core application will be created with required resources are Syncfusion Dashboard Viewer Nuget/Bower Packages, Scripts, and CSS are added to the project.

Package view in Solution Explorer

Scripts view in Solution Explorer

Step 6. Compile and execute the application. You can see the following output in the browser.

Dashboard view in web browser