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
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:
We are using Umbraco v6.1.6.
is working on a reply...