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

Forums / General Discussions / Using my own controls with Sitefinity....

Using my own controls with Sitefinity....

2 posts, 0 answered
  1. Alex Brown
    Alex Brown avatar
    1 posts
    Registered:
    17 Dec 2009
    17 Dec 2009
    Link to this post
    I am planning the redevelopment of our e-commerce platform.
    My idea (in a very broad nutshell) is to create a bunch of WCF services to achieve the following methods (for example)

    (pseudo code)

    GetProduct(string productID)
    SearchProducts(string query)
    AddProductToCart(string productID, int qty)

    That kind of idea...

    Is it possible to create controls that would effectively connect to these WCF services, and use them within a deployment of Sitefinity?

    Also, for things like the login control... Can I override that, to use my own logic to authenticate users etc...?
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    18 Dec 2009
    Link to this post
    Hello Alex Brown,

    Thank you for using our services.

    It is possible to create your own controls, which work with services. In fact we do use WebServices for getting content items for example in the Sitefinity back end. I can point you to two blog posts for using WCF services and WebServices in Sitefinity:
    Enable loading of CMS pages through an AJAX Web Service
    Use the Content Manager API in a Web Service

    As for the login control - we do use the standard ASP.NET Login Control. You can either override this control, or create your own which uses Forms Authentication. The source for the login control can be found in ~/Sitefinity/UserControls/Login/LoginControl.ascx.

    Please, feel free to get back to us if you have more questions.

    Best wishes,
    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.
2 posts, 0 answered