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

Forums / Developing with Sitefinity / Web services questions

Web services questions

5 posts, 0 answered
  1. Thomas Jaskula
    Thomas Jaskula avatar
    2 posts
    Registered:
    01 Nov 2009
    29 Apr 2013
    Link to this post
    Hi everybody,

    I'm looking for some information on how to build web services on top of modules built with a Module Builder ? I saw in the documentation how one could implement a web service but there is no information on how it could be done on top of module builder.

    The module that is built with module builder contains following fields that should be accessible within a webservice :

     - text fields
     - tags
     - taxonolmies
     - media files (videos, images, and so on)  : a link to the related media file is sufficient.

    Could you please provide me with some guidance on how it could be done ?

    Thank you,
  2. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    Registered:
    03 Nov 2014
    30 Apr 2013
    Link to this post
    Hi Thomas,

     Thank you for contacting us.

    If you are talking about creating a custom service it can be done with any method available to ASP.NET. I would personally recommend Web API as it returns really clean data that's easy to work with. Here's a link to a partner blog post on how to do this in Sitefinity.

    http://blog.falafel.com/blogs/basem-emara/2012/06/20/using-asp.net-web-api-for-sitefinity-rest-services

    With this method you can use the API to query and return any information you need from module builder using the Code references that were generated with your module builder module.

    I hope this helps.

    Greetings,
    Patrick Dunn
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Thomas Jaskula
    Thomas Jaskula avatar
    2 posts
    Registered:
    01 Nov 2009
    30 Apr 2013 in reply to Patrick Dunn
    Link to this post
    Patrick,

    Thank you for your reply. I'm sorry for the noob questions but I'm new to the platform.
    Can you just confirm that the code references that were generated retrives all kind of fields used in the modul builder ?
    I mean the dynamic fields, taxonomy, etc ?

    Regards,

    Thomas
  4. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    Registered:
    03 Nov 2014
    30 Apr 2013
    Link to this post
    Hello Thomas,

     No problem and welcome to Sitefinity!

    You can navigate to your module builder module under Administration > Module Builder > [Your Module Name].

    From there look at this screenshot.

    http://screencast.com/t/2j4YtA4do

    I hope this helps!

    Greetings,
    Patrick Dunn
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    30 Apr 2013 in reply to Patrick Dunn
    Link to this post
    Gonna also post this here...

    http://www.sitefinitysteve.com/blog/code/2012/03/16/simple-wcf-by-sitefinity

    Until webapi gets native attribute routing (coming next release?), and sitefinity actually adopts it as the framework...I'm sticking to WCF :)

5 posts, 0 answered