I have been doing some reading on Sitecore.Services.Client framework for a project for which I am required to use and consume Sitecore as a data repository. The data in Sitecore will be some Html content blocks as well as some Dictionary items for the pages that are not hosted in Sitecore CMS. What are the minimum Sitecore assemblies I should need to reference in my project?
As per the Sitecore Nuget feed, https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore.Services.Client, these are the required assemblies/frameworks needed by the
- .NET Framework 4.5 (or higher depending on the Sitecore version being used)
- Microsoft.Extensions.DependencyInjection.Abstractions (= 1.0.0)
You don't need to reference any Sitecore dlls in order to be able to use the Sitecore REST API. These APIs are defined in the developer's guide available on SDN.
(This document does not seem to have been ported to doc.sitecore.net yet, so SDN is where you need to get it.)
Sitecore.Services.Core will give you access to a .NET API, so you aren't working with REST calls directly.
Ironically, you don't need to reference
Sitecore.Services.Client. That dll is used during installation. It is highly unlikely you need to reference this assembly in your project.