I have a Sitecore Entity Service implementation based on official documentation. https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/create-an-entityservice.html

It was working fine on version 9.0, 9.1 and 9.2. After upgrading the solution to 9.3, I cannot build the project anymore because EntityService class cannot be found in Sitecore.Services.Infrastrucure.Sitecore assembly.

 public class SampleController : EntityService<Entity> {}

What should I change to make it working again?


You should derive your controller from EntityServiceBase instead of EntityService.

public class SampleController : Sitecore.Services.Infrastructure.Services.EntityServiceBase<Entity>

After this change, you will be able to build the code and use your entity service

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.