Skip to content

Install

The Poli Page .NET SDK ships as the PoliPage package on NuGet. It targets net8.0 (LTS) and net10.0 (LTS) and runs on Linux, macOS, and Windows.

Terminal window
dotnet add package PoliPage

Or add the reference directly to your .csproj:

<ItemGroup>
<PackageReference Include="PoliPage" Version="1.0.0" />
</ItemGroup>

The SDK targets net8.0 and net10.0. CI exercises both on Ubuntu, plus net10.0 on Windows and macOS. See runtime support for the full matrix.

using PoliPage;
var client = new PoliPageClient(new PoliPageClientOptions
{
ApiKey = Environment.GetEnvironmentVariable("POLI_PAGE_API_KEY")!,
});