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

Forums / Developing with Sitefinity / Recommendations for how to use custom classes

Recommendations for how to use custom classes

2 posts, 0 answered
  1. Shaune Stark
    Shaune  Stark avatar
    4 posts
    Registered:
    02 Dec 2005
    25 Nov 2008
    Link to this post
    This may seem foolish (I am still very new to SF), but are there any suggestions as to how to include custom classes?  I have built several user controls to be used in our Sitefinity pages, but I would like to refactor and create some custom classes for those user controls to use....  Any suggestions as to where in the file hierarchy these class files should be placed, or can they go in any directory I add?  Also, compiling the project in VS2008 takes a very long time...  Is there any way to skip compiling the Sitefinity and RadControls directories without making them hidden?

    Thanks,

    Shaune
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    26 Nov 2008
    Link to this post
    Hi Shaune Stark,

    You could add App_Code folder to the root of Sitefinity website. This folder contains source code for classes and business objects (.cs, .vb, and jsl files) that you want to compile as a part of your application. Take a look at Sitefinity's API.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered