This application demonstrates an ASP.NET Core application with an Angular front end, built using the dotnet CLI, and integrated with the Syncfusion Angular DataGrid component.
To create a new ASP.NET Core with Angular application, refer to this documentation.
- To clone the sample repository locally, open the command prompt in the desired location and execute the following command.
git clone https://github.com/SyncfusionExamples/ASP-.NET-Core-with-Angular-using-EJ2-controls.git
- Navigate to the project directory:
cd ASP-.NET-Core-with-Angular-using-EJ2-controls
- Run the following command to set the environment on Windows.
SET ASPNETCORE_Environment=Development
For Linux or macOS, run the
export ASPNETCORE_ENVIRONMENT=Development
command in the terminal.
Build the application using the following command. It will automatically install the required packages.
dotnet build
To run the application, use the following command:
dotnet run