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

Forums / Set-up & Installation / Integrate SiteFinity with Existing Application

Integrate SiteFinity with Existing Application

4 posts, 0 answered
  1. rh
    rh avatar
    3 posts
    Registered:
    27 Jan 2007
    01 Nov 2009
    Link to this post
    I have an existing application that is an ASP.NET application. I would like to split up the application into two logical components:

    1) The application
    2) The web site (marketing, support, etc. for the application)

    Is there a good approach to use sitefinity within the same virtual directory as my application so that we can have the sitefinity CMS for the web site component and still have our application component as well?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    02 Nov 2009
    Link to this post
    Hello rh,

    Sitefinity follows the structure of each standard ASP.NET application so there is no problem to configure it as a sub web application of your existing project. The most problematic part will be the configuration of the both applications because of a web.config inheritance - you should decide which parts will be shared between the applications and which not. The both application should use the same version of .NET Framework, otherwise you may receive compilation errors.

    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.
  3. rh
    rh avatar
    3 posts
    Registered:
    27 Jan 2007
    20 Nov 2009
    Link to this post
    Hi, thank you.

    This application is 5 years old and due to lack of forward planning there are some application pages that reside in the root directory of the application (e.g. login.aspx and a few other aspx pages). Except for these few pages all of the other pages are in sub folders.

    In a perfect world I would be able to have the default.aspx page in the root "managed" by site finity so that the sales and marketing department could update the default page without involving programmers. I could then have all other public pages that are managed by site finity off of a sub folder.

    Is something like this possible? There would probably have to be a way to tell site finity to ignore the pages in the root directory that it shouldn't manage and I wouldn't necessarily expect something like that to be in the product as it is probably not a common scenario but figured I'd ask just in case.

    Please let me know if I need to explain my situation better.
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    20 Nov 2009
    Link to this post
    Hello rh,

    Thank you for getting back to us.

    From your post I get the impression that you are with the idea that Sitefinity manages physical ASPX pages. Sitefinity does not work that way - it creates the CMS pages and stores them in the DB, then whenever a pages is requested all its content and properties are pulled from the DB. You can add physical pages to your Sitefinity website sitemap, however you will not be able to change those pages through Sitefinity.

    Although Sitefinity does not work with physical pages and directories it uses hierarchical system for the pages. So you can create pages and they can have subpages. Or create parent pages that have no content and only have children pages (the same as directory and pages within that directory). Now as Ivan has said you can use Sitefinity as any ASP.NET application. You can have your backend logic - not accessible to the public in the administration area of Sitefinity. Then you can have the CMS pages - the front end part of your application. You can use roles and permissions to define who gets to access what and what they can do about it.

    I suggest that you take a look at the following resources so you gain a better understanding of the Sitefintiy CMS:
    User Manual
    Developer Manual
    Sitefinity 3.6 new backend architecture

    Sincerely yours,
    Radoslav Georgiev
    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.
Register for webinar
4 posts, 0 answered