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

Forums / Developing with Sitefinity / Standard MVC solution but consume SF Contents

Standard MVC solution but consume SF Contents

5 posts, 1 answered
  1. Narasimha
    Narasimha avatar
    14 posts
    Registered:
    26 May 2015
    29 Sep 2015
    Link to this post

    Hi,

      I am trying to figure out if it is possible to consume Sitefinity Pages / Contents from outside the sitefinity project that we have like from a standalone MVC project. I am trying to explore if I can create MVC outside SF and still be able to consume the dynamic contents. 

    Regards

    Baliga

     

  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    29 Sep 2015 in reply to Narasimha
    Link to this post

    You would have to expose the data externally though custom services... good thing it includes servicestack!

     

    https://gist.github.com/sitefinitysteve/d49c43830fb79d3179d7

  3. Narasimha
    Narasimha avatar
    14 posts
    Registered:
    26 May 2015
    30 Sep 2015 in reply to Steve
    Link to this post
    Not really sure what you mean. But I was thinking if we could somehow use Fluent API in the standalone MVC project and then point it to use the SF database of the SF project and then consume the contents and other stuff - is this possible?
  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    30 Sep 2015
    Link to this post
    No that won't work at all...if you want external integration you need to expose it yourself with webservices.
    Answered
  5. Narasimha
    Narasimha avatar
    14 posts
    Registered:
    26 May 2015
    30 Sep 2015 in reply to Steve
    Link to this post
    Alright, thanks for the quick response
5 posts, 1 answered