+1-888-365-2779
Try Now
More in this section

Forums / Suggestions / Marking obsolete methods...

Marking obsolete methods...

2 posts, 0 answered
  1. DGDev
    DGDev avatar
    5 posts
    Registered:
    06 Jul 2012
    14 Oct 2009
    Link to this post
    I just started learning the SiteFinity API, and have been toying with the blogs module via BlogManager.  After doing some development work, I came across this page:

    http://www.sitefinity.com/help/developer-manual/generic-content-based-blogs-posts-manage.html

    At the bottom it states that:  BlogManager.GetPosts() is now obsolete in favor of ContentManager
    I looked at my intellisense, then at the BlogManager class explorer and this method has not been marked with the [Obsolete()] attribute.

    I'm not sure if this is for a reason or code hasn't been updated yet.  Just thought I'd make the fine devs at Telerik aware.  You guys provide excellent documentation and just thought the code should reflect it; vice versa.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Oct 2009
    Link to this post
    Hello DGDev,

    Thank you for pointing us to this. We will add obsolete attribute for the next Service Pack. The idea is that you can use ContentManager GetContent method which has 21 overloads.

    We updated your Telerik points.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered