This is a migrated thread and some comments may be shown as answers.

Kendo.for.AspNet.Core vs. Telerik.UI.for.AspNet.Core

3 Answers 691 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Don
Top achievements
Rank 1
Don asked on 07 Aug 2019, 01:11 AM

what is the difference between the NuGet package Kendo.for.AspNet.Core vs. Telerik.UI.for.AspNet.Core ?
Under what situation to use one versus the other ?

I downloaded both from Visual Studio NuGet into my project then noticed I get a compilation warning error about the PackageReference and Version.

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 09 Aug 2019, 02:56 PM
Hi Don,

The correct NuGet Package you need is Telerik.UI.for.AspNet.Core. It contains all official Kendo UI releases and service packs for ASP.NET Core.
You should not use Kendo.for.AspNet.Core, and we will look into its presence and availability. Please uninstall it as it might be causing the warning errors.

At the link below you can find the list of the official provided packages:

https://docs.telerik.com/aspnet-core/getting-started/nuget-install#list-of-provided-packages

Should you have any further questions, please contact us back.

Regards,
Nikolay
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Don
Top achievements
Rank 1
answered on 09 Aug 2019, 04:15 PM

Thank you for the clarification. My ASP.NET Core project now only has Telerik.UI.for.AspNet.Core package installed. However, visual studio intellisense is not able to find the extension for Kendo UI when I use the following code in my .cshtml page:

@(Html.Kendo().Grid<MyApp.Models.ProductViewModel>()

What am I missing ?

0
Nikolay
Telerik team
answered on 12 Aug 2019, 10:12 AM
Hello Don,

The Visual Studio is not able to locate the Kendo UI as you need to import the Kendo.Mvc.UI namespace. In ~/Views/_ViewImports.cshtml please declare:

@using MyASPNETCoreProject
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Kendo.Mvc
@using Kendo.Mvc.UI

I would also recommend you adding the default Json serialization in your application will which make the model properties being serialized in camel case by default. You can find more information in the Getting Started article. Please refer to Step 5.

If there is anything else, we could help, please contact us back.

Regards,
Nikolay
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Installer and VS Extensions
Asked by
Don
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Don
Top achievements
Rank 1
Share this question
or