Copied to clipboard

Flag this post as spam?

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


  • John 6 posts 26 karma points
    Feb 19, 2010 @ 13:21
    John
    0

    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.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Feb 19, 2010 @ 14:48
    Dirk De Grave
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft