app.UseKendo(env) deprecated

7 posts, 0 answers
  1. Louis
    Louis avatar
    85 posts
    Member since:
    Jun 2011

    Posted 18 May 2018 Link to this post

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

    Thanks a lot.

  2. Louis
    Louis avatar
    85 posts
    Member since:
    Jun 2011

    Posted 18 May 2018 Link to this post

    Trying to put the attachement again.
  3. Stamo Gochev
    Admin
    Stamo Gochev avatar
    208 posts

    Posted 21 May 2018 Link to this post

    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.
  4. Louis
    Louis avatar
    85 posts
    Member since:
    Jun 2011

    Posted 21 May 2018 in reply to Stamo Gochev Link to this post

    As usual great information.

     

    Thank you Stamo and happy holidays.

  5. Ben Hayat
    Ben Hayat avatar
    902 posts
    Member since:
    May 2008

    Posted 16 Jun 2018 in reply to Stamo Gochev Link to this post

    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.

  6. Stamo Gochev
    Admin
    Stamo Gochev avatar
    208 posts

    Posted 19 Jun 2018 Link to this post

    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.
  7. Ben Hayat
    Ben Hayat avatar
    902 posts
    Member since:
    May 2008

    Posted 19 Jun 2018 in reply to Stamo Gochev Link to this post

    Yes, you are right!
    Thanks!
Back to Top