More in this section
Forums / Sitefinity SDK / Where to insert Sample Functions in SitefinityWebApp

Where to insert Sample Functions in SitefinityWebApp

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. David
    David avatar
    9 posts
    05 Jun 2013
    10 Jun 2013
    Link to this post
    Hello Everyone, beginner developer here so I apologize for the  naive question.
    My end goal is programmatically insert news items in Sitefinity using the Native or Fluent API from a mysql database.

    The API doc's even contain sample code on how to create a news item,

    The problem is I am such a novice I am not sure where to insert this sample code. I've got visual studios/sitefinity/sitefinity SDK installed and working correctly. I even have the sample projects loading as expected.

    I just dont know where to start the development of my functions. Do I need a custom class? A Resource class? A custom Widget?

    Is there a place to download a sample project that has some these beginner functions built in? (create news, query news)?

    Thanks in Advance....

  2. Kaloyan
    Kaloyan avatar
    272 posts
    06 Feb 2017
    12 Jun 2013
    Link to this post
    Hello David,

    Sitefinity CMS is a standard ASP.NET application and it can be used like every ASP.NET project. You can easily create content programmatically by adding new aspx page to your project and then put the code sample in the code behind of the page. Most of the samples from the Sitefinity essentials part of our documentation can be used this way. 

    I would advice to take a look at the following links where you can find very useful information about the usage of the APIs:


    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

2 posts, 0 answered