sukesh
sukesh

Reputation: 2425

Sitecore Services Client vs Sitecore Web Service vs Sitecore Item web API

I'm a Sitecore beginner, working on Sitecore 8 with ASP.NET. There is a page where an Ajax call has to be made to get data.

Created a test web service in the project which responds to the ajax call with success. This service will be a wrapper.

I understand, I have to consume one of the 3 options (in the title) inside the test service, to get the Sitecore items and do stuff.

But all 3 appear similar to me & not sure which one to go with, to achieve my task

Also,
1. Is there an advantage of one over the other.
2. ..and when to use which one.

Upvotes: 3

Views: 2970

Answers (1)

Komainu85
Komainu85

Reputation: 964

Sitecore Services Client is the framework or namespace that both Item Service and Entity Service sit within. Item Web API is the legacy framework.

Use Item service if you want to do basic stuff with the sitecore Items as this is a prebuilt api. Entity Service allows you to create your own API using the Sitecore.Services.Client framework and give you much more power and control.

https://mikerobbins.co.uk/2015/01/06/entityservice-sitecore-service-client/

Use can also use Sitecore.Services.Client to do the routing and you write the controller. see https://mikerobbins.co.uk/2015/06/25/sitecore-service-client-servicesapicontroller/

Upvotes: 8

Related Questions