Copied to clipboard

Flag this post as spam?

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


  • Tiago 3 posts 73 karma points
    Jul 11, 2016 @ 10:26
    Tiago
    0

    Create umbraco 4 context programatically

    Hi all,

    I need to access Umbraco (Version 4) directly without an HTTP Context.

    I have a console application and I need to create a context to access data via API.

    How can I do that? I'm expecting some API method where i need to provide the umbraco connection string...

    Thank U All...

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jul 11, 2016 @ 12:37
    Dennis Adolfi
    0

    Hi Tiago.

    I think this code example can be useful in your situation: https://github.com/sitereactor/umbraco-console-example

    Best of luck to you!

    /Dennis

  • Tiago 3 posts 73 karma points
    Jul 11, 2016 @ 13:00
    Tiago
    0

    Hi Dennis,

    Thanks for your reply, i forgot to mention this is for Umbraco 4. I've already edited my question.

    Thanks.

    Tiago.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies