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

app.UseKendo(env) deprecated

6 Answers 438 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Louis
Top achievements
Rank 1
Iron
Iron
Iron
Louis asked on 19 May 2018, 01:38 AM

I just start a brand new project and I have already this warning.  See attachment.  And clue?

Thanks a lot.

6 Answers, 1 is accepted

Sort by
0
Louis
Top achievements
Rank 1
Iron
Iron
Iron
answered on 19 May 2018, 01:44 AM
Trying to put the attachement again.
0
Stamo Gochev
Telerik team
answered on 21 May 2018, 07:00 AM
Hello Louis,

Thanks for reporting this. The method call is no longer required as of R2 2018 due to the fix for the following issue (still required for previous versions though), so you can remove it from the code:

https://github.com/telerik/kendo-ui-core/issues/4007

The documentation has already been updated with this information (step 5 section 3):

https://docs.telerik.com/aspnet-core/getting-started/getting-started

The warning message has been modified to include the above note and will be available in future releases (internal builds, service packs, etc.). The app templates will also be updated, so that the warning is not displayed. 

Regards,
Stamo Gochev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Louis
Top achievements
Rank 1
Iron
Iron
Iron
answered on 21 May 2018, 01:14 PM

As usual great information.

 

Thank you Stamo and happy holidays.

0
Ben Hayat
Top achievements
Rank 2
answered on 16 Jun 2018, 10:22 PM

Hi Stamo;

The docs are not updated, as I was following the doc and ran into the same problem. Here is the screen shot showing the old style.

0
Stamo Gochev
Telerik team
answered on 19 Jun 2018, 05:12 AM
Hello Ben,

The text of step 5 section 3 is:

"Locate the Configure method and add a call to app.UseKendo at the end (required for versions prior to R2 2018)."

The line is still present because users can be referencing a DLL with an older version for which the mentioned configuration is still required. If you are using a newer version (R2 2018 and above), you should get a warning message for using the deprecated method.

Regards,
Stamo Gochev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Ben Hayat
Top achievements
Rank 2
answered on 19 Jun 2018, 05:17 AM
Yes, you are right!
Thanks!
Tags
General Discussions
Asked by
Louis
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Louis
Top achievements
Rank 1
Iron
Iron
Iron
Stamo Gochev
Telerik team
Ben Hayat
Top achievements
Rank 2
Share this question
or