Copied to clipboard

Flag this post as spam?

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

  • Julien Kulker 29 posts 191 karma points
    Aug 09, 2018 @ 12:01
    Julien Kulker

    Umbraco Headless: AddUmbracoHeadlessClient

    Hi there,

    I am trying to setup my .Net core webapplication with umbraco headless. The first steps went ok but i get some errors when adding the headless settings to the startup.cs

      // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)

    services.AddUmbracoHeadlessClient(Configuration); This line is incorrect because the IserviceCollection doesn't have a method like that.

    I added does two references

    using Umbraco.Headless.Client; using Umbraco.Headless.Client.Web;

    Anyone know what i am doing wrong?

  • Jan Skovgaard 11224 posts 23276 karma points MVP 5x admin c-trib
    Aug 09, 2018 @ 12:13
    Jan Skovgaard

    Hi Julien

    I unfortunately do not have any current experience with running Umbraco headless myself yet but I just want to make sure you have seen the documentation available here ? :) Maybe it can help you out?


  • Julien Kulker 29 posts 191 karma points
    Aug 09, 2018 @ 13:10
    Julien Kulker

    Hi jan,

    Yes i know about the installation instructions. I did use does installation instructions.

    from this page also:

  • Jason 2 posts 71 karma points
    Aug 09, 2018 @ 19:06

    I was able to get this working my rolling back to the version released at the end of July.

  • Michael Murphy 2 posts 72 karma points
    Aug 09, 2018 @ 19:45
    Michael Murphy

    Which version number in MyGet was the end of July version?

  • Julien Kulker 29 posts 191 karma points
    Aug 10, 2018 @ 07:10
    Julien Kulker

    It is not really a solution but it seems like the the tutorials on our umbraco are outdated already because it doesn't work like they said it do.

    Downgrading to a earlier version fix the problem.

Please Sign in or register to post replies

Write your reply to: