jswanson
jswanson

Reputation: 16482

How to retrieve Orchard CMS content from another site?

Are there any Orchard web services I could call to retrieve content from my Orchard site so that I could display on another site? Two separate sets of servers.

Upvotes: 3

Views: 926

Answers (1)

Piotr Szmyd
Piotr Szmyd

Reputation: 13366

You can expose Orchard content via web services without any problems. All you have to do is to create a module with WCF service inside (as in ordinary ASP.NET-based web app) and add an appropriate ServiceRoute pointing to that service.

You can read more about how to do that here and here.

UPDATE: As Bertrand noted, you can also take the easier way and setup a simple REST service using a plain ASP.NET MVC controller.

Upvotes: 1

Related Questions