AgilityContentRepository Use in Console Applications / WebJob

Answered

Comments

2 comments

  • Official comment
    James Vidler

    Ya I don't think you can do this using a console app, I believe there are dependencies on System.Web.Mvc. As per Joel's comments, you'll need to use the Content Import API for this for the time being.

    We are working on a high-availability REST API which will be much better for this. More details on this will be released in the coming months.

  • Joel Varty

    Hi Mike - you need to make sure that the app has a properly initialized configuration file, pointing to a previously synced content files folder.  You could also use the Content Import API to do this.  The main difference is that by using the AgilityContentRepository, you need to have a content files folder.

Please sign in to leave a comment.