Confused between Syncfusion.EJ2.JavaScript and Syncfusion.EJ2.AspNet.Core

Hello,

I'm going to use syncfusion community controls in an asp.net core 6 project.

When I read the Chart control getting started page, it mentioned to install the "Syncfusion.EJ2.JavaScript" package, while the introduction page for the toolking itself for asp.net core, said to install "Syncfusion.EJ2.AspNet.Core"

so which nuget package do I actually need to install and why?


All the work will be done in the views.

I'm not going to do any serverside handeling with syncfusion, Unless I need to,

It'll be mostly jquery and javascript.

Thanks a lot!


3 Replies 1 reply marked as answer

DG Durga Gopalakrishnan Syncfusion Team January 10, 2022 02:16 PM UTC

Hi AOMT,


Greetings from Syncfusion.


The package Syncfusion.EJ2.AspNet.Core is required for Syncfusion control initialization in ASP.NET Core platform. The Syncfusion.EJ2.JavaScript package is a dependent package which includes JavaScript code required for rendering. You can install only Syncfusion.EJ2.AspNet.Core package, which install its all dependent packages automatically.


Please let us know if you have any concerns.


Regards,

Durga G


Marked as answer

AD AOMT DEV January 10, 2022 02:24 PM UTC

Thanks a lot for the clarification, it would be nice to update the documentation of the Chart control, which suggests to install the JS library instead of the Core one.


If I wish to use the controls without any serverside code, Can I then use the Javascript package only?

if so, could you send me a guide?


thanks again!



DG Durga Gopalakrishnan Syncfusion Team January 11, 2022 03:04 PM UTC

Hi AMOT,


We have already included documentation for installing the Syncfusion.EJ2.AspNet.Core package alone while working with core project. Please check with below documentation links.


UG :

https://ej2.syncfusion.com/aspnetcore/documentation/chart/getting-started/

https://ej2.syncfusion.com/aspnetcore/documentation/installation/install-nuget-packages/#installation-using-package-manager-ui


You need to install Syncfusion.EJ2.AspNet.Core package for control initialization even if you are not working on server side. Installing JavaScript package alone will throw error in view page while initializing controls. So AspNetCore package is must for core platform.


Regards,

Durga G


Loader.
Up arrow icon