Hi, I'd like to use the API to look up page details (last update date, url etc) based on node ID, from within a separate console application (for use in a bulk email task that runs on a daily basis against several thousand users). This process has to run quickly so I wanted to avoid using webservices.
Can anybody help me in setting up the project - ie. how to apply all of the configuaration settings that normally sit in web.config, and also which dll's to reference for this?
you should really go the webservice route, as the api is not designed to be run outside the umbraco context. A solution could be to write a dashboard control that sits in the umbraco backend (and runs in the umbraco context)
Another possibiltiy is using scheduled task feature, which is also available in umbraco oob.
Using Umbraco API in non-web app
Hi, I'd like to use the API to look up page details (last update date, url etc) based on node ID, from within a separate console application (for use in a bulk email task that runs on a daily basis against several thousand users). This process has to run quickly so I wanted to avoid using webservices.
Can anybody help me in setting up the project - ie. how to apply all of the configuaration settings that normally sit in web.config, and also which dll's to reference for this?
Thanks.
Hi John,
you should really go the webservice route, as the api is not designed to be run outside the umbraco context. A solution could be to write a dashboard control that sits in the umbraco backend (and runs in the umbraco context)
Another possibiltiy is using scheduled task feature, which is also available in umbraco oob.
Cheers,
/Dirk
is working on a reply...