More in this section

Forums / Developing with Sitefinity / Integrate Sitefinity with custom ASP.NET application

Integrate Sitefinity with custom ASP.NET application

9 posts, 0 answered
  1. phuc
    phuc avatar
    3 posts
    Registered:
    12 Jun 2009
    12 Jun 2009
    Link to this post
    Hello,

    Here are my customer requirements:
     - implement a business application accessible on the internet
     - provide a CMS system for the web site

    Sitefinity seems to be a good product for the CMS part.
    My question is how can I integrate my ASP.NET application in/with sitefinity ?
     - Can I "put" ASPX pages in the navigation ?
     - Should I implement the application as user controls (with code behind) or as a module(s) ?
     - how I can manage the navigation between pages ? like standard application.
     - Can I use all the telerik component in my application ? (Combobox, Grid, calendar, ajax manager ...).

    May be you can provide me with a sample application that you have in store.

    For information, the users have to provide a login/password to use the business application and anonymous user can browser the web site.
    The business application will have several pages with a custom navigation to provide access to its features.

    Thank you in advance for your support.

    Tran
  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    12 Jun 2009
    Link to this post
    if you have existing physical aspx files, you can add them to the sitefinity sitemap by linking them as "external pages". this puts them in the site navigation tree (and I  beliefve it will even index them for the search engine) as read-only elements. You would use traditional editors like visual studio or notepad to edit them.

    if you want tighter integration into sitefinity, you can wrap the main logic for each page into a user control, which can be dropped onto a sitefinity page.

    I've done this with an existing application for our website. we had a set of aspx pages for handling billing, which was protected by membership sign in. I simply added the membership provider to the sitefinity web.config, and converted all of the pages into user controls, making sure that the login controls all used my additional membership provider.

    it's only slightly tricky, but if you know how to use standard asp.net practices it's not difficult.

    also, yes you are allowed to use telerik controls within your sitefinity site, they are fully licensed and included with the package.

    I hopet his was helpful! if you need further clarification, let me know and I will do my best to help!
  3. phuc
    phuc avatar
    3 posts
    Registered:
    12 Jun 2009
    15 Jun 2009
    Link to this post
    Hi,

    Thank you for your answer.
    According to the described solutions, the pages/controls have to be in the same IIS site as Sitefinity.Is that correct ?

    Would it be possible to add external pages that are in a different IIS site on the same server ? For those pages, external editor is OK as they are not content pages.

    Moreover, could the 2 web sites have some kind of SSO if they share the same membership provider ? I know it is possible with 2 asp.net application, what about sitefinity ?

    Thank you
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Jun 2009
    Link to this post
    Hello phuc,

    You can add the external pages to Sitefinity, but you cannot manage them - modify the appearance, changing the controls and so on. SSO will be available with the default installation of 4.0 release. Currently you need to implement it by your own and yes it is possible.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. phuc
    phuc avatar
    3 posts
    Registered:
    12 Jun 2009
    15 Jun 2009
    Link to this post
    Hi,

    I will definitely recommend your product to my customer.
    Can you please tell me if the version 4.0 will be available before the end of this year ?
    The site has to go live in december.

    Thank you for the great support.
  6. kali
    kali avatar
    2 posts
    Registered:
    14 May 2009
    15 Jun 2009
    Link to this post
    Hello,
    I have a similar problem - I have to integrate existing asp.net application in Sitefinity cms. The application has a lot of pages that have to be added as an "external pages" and it is not a good idea to develop so much user controls because it is time-consuming.
    So I added these pages as "external" - but there was a little surprise for me - the breadcrumb just doesn't appear. When page loaded - there was no site map.

    Any ideas?
    May be I have missed something.


  7. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    15 Jun 2009
    Link to this post
    Hello,

    This is expected behavior if you have the breadcrumb on the page - after all, the external page is not part of Sitefinity (although it is linked from the administration to the Sitemap). The page does not even "know" that there is a Sitemap. Sitefinity knows, but not the page.

    As for the 4.0, we are aiming to release before the end of this year, but do not have a certain data set yet. We will have a technology preview release in about two months, and a beta in the Q3. You could check them and see if it will be feasible for you.

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. kali
    kali avatar
    2 posts
    Registered:
    14 May 2009
    16 Jun 2009
    Link to this post
    These external pages are in Sitefinity web site, and as I understand when we add a page to the project,  in fact we add it to the Sitefinity sitemap.
    So it is no logical reason for the SiteMapProvider not to find them.
    Please correct me if I am wrong.
  9. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Jun 2009
    Link to this post
    Hi kali,

    I added a breadcrumb control on a page and my external page was shown as expected. When you add an external page to Sitefinity, the page url is added to the provider. CmsSiteMapNode uses CmsSiteMapProvider as provider in its constructor.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
9 posts, 0 answered