Developers can use the Web Client SDK by adding a new NuGet package source then importing the Web SDK NuGet in their projects.
The Stylelabs NuGet packages can be found here.
After creating an account and successfully authenticating, the
m-public feed should be visible. This feed should be added to the Visual Studio package sources in order to pull in any of the packages. For more information, please refer to this documentation.
An example of a pre-authenticated URL:
Setup the project
Create a new project in Visual Studio (Code). This can be either a console application or an Azure Function App. In the following examples, we will be using a .NET Core 2.1 console application.
Add the Web Client SDK NuGet package (
Stylelabs.M.Sdk.WebClient) to your project. For more information about adding a Nuget package, please refer to this documentation.