Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lesley 107 posts 349 karma points
    Feb 20, 2017 @ 00:44
    Lesley
    0

    Create/Reference UmbracoApiController outside main website

    We currently have a method in an UmbracoApiController within our main website that is called from Windows Task Scheduler via a Powershell script.

    We want to move this out of the main website into a separate application (either console app or web app) - is this possible?

    I've tried creating a separate web app and including the Umbraco Core binaries, however, when we try to create or reference an UmbracoApiController we get the following error:

    Value cannot be null. Parameter name: umbracoContext
    

    We are using Umbraco v6.1.6.

Please Sign in or register to post replies

Write your reply to:

Draft