More in this section
Forums / Developing with Sitefinity / Wrapping a internal webapi custom module/wcf service or webapi

Wrapping a internal webapi custom module/wcf service or webapi

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Roberto
    Roberto avatar
    0 posts
    18 Apr 2017
    14 Nov 2017
    Link to this post


    We are trying to implement some common backend services to be used on sitefinity.

    Our endpoints are not exposed to internet so these are not available directly from webpages. This services allows you OData querying, my question is.


    - Can we create a custom module without data backend (EF/OData) to service as a wrapper, reusable and pluggable ?

    - If a module is not possible, can be create a WCF Odata sitefinity service to wrap this services ? (Content type must be provided by a module think so)

    - A simple web api wrapper can be done in MVC project ?

    Hope so to find any thoughts on this, I appreciate any suggestion on comments on topic.

  2. Jonathan
    Jonathan avatar
    119 posts
    19 Dec 2012
    15 Nov 2017 in reply to Roberto
    Link to this post
    You can create Web API within the SitefinityWebApp or within another class library (my recommendation). I don't have any specific examples to show but after you create the web api you will need to do some manual route registration for it. Try to use a route that doesnt start with /api/{controller}/{action}/id as 'api' is used by default for the sitefinity oData services.
2 posts, 0 answered