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.AddMvc();
services.AddUmbracoHeadlessClient(Configuration);
services.AddUmbracoHeadlessWebEngine();
}
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;
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
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?
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 https://our.umbraco.com/documentation/Umbraco-Cloud/Headless/Headless-Net-Client/ ? :) Maybe it can help you out?
/Jan
Hi jan,
Yes i know about the installation instructions. I did use does installation instructions.
from this page also: https://our.umbraco.com/documentation/Umbraco-Cloud/Headless/Headless-Net-Client/website-managed
I was able to get this working my rolling back to the version released at the end of July.
Which version number in MyGet was the end of July version?
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.
is working on a reply...