Skip to content

adobe/target-dotnet-sdk

Adobe Target .Net SDK

GitHub Actions Status

GitHub Actions Build History

The Adobe Target .Net SDK uses the Target Delivery API to retrieve and deliver personalized experiences.

Table of contents

Getting started

Prerequisites

At a minimum .NET Core SDK 2.0 is required to build, test, and generate NuGet packages.
Note: the SDK itself multi-targets .NET Standard 2.0, .NET 5, 6 and 7

macOS/Linux

On macOS or Linux we recommend Visual Studio Code with the C# Extension. See the getting started guide for VS Code and .NET.

Windows:

On Windows, we recommend installing the latest Visual Studio 2019.

Installation

To get started with Target .NET SDK, just add it as a dependency by installing from NuGet.

Super Simple to Use

Please take a look at our documentation to learn how to use the .NET SDK.

Sample Apps

There's a couple of sample apps showing sample sync/async Target SDK usage under SampleApp project.
To switch between sync and async sample apps, just modify StartupObject property in SampleApp project file accordingly.

Build

To build everything and generate NuGet packages, run dotnet Cake CLI commands. Binaries and NuGet packages will be dropped in an Artefacts directory at the repo root.

# Build sdk, run tests, generate coverage and pack
dotnet cake

# Alternatively, run separate Cake tasks
dotnet cake --target=Build
dotnet cake --target=Test
dotnet cake --target=Pack

Each project can also be built individually directly through the CLI or your editor/IDE. You can open the solution file Adobe.Target.Client.sln in repo root to load all sdk, sample and test projects.

Releases

We publish NuGet packages to nuget.org for each release.

Contributing

Contributions are welcome! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

back to top