Fourthwall.Client
0.1.0-dev1
dotnet add package Fourthwall.Client --version 0.1.0-dev1
NuGet\Install-Package Fourthwall.Client -Version 0.1.0-dev1
<PackageReference Include="Fourthwall.Client" Version="0.1.0-dev1" />
<PackageVersion Include="Fourthwall.Client" Version="0.1.0-dev1" />
<PackageReference Include="Fourthwall.Client" />
paket add Fourthwall.Client --version 0.1.0-dev1
#r "nuget: Fourthwall.Client, 0.1.0-dev1"
#:package Fourthwall.Client@0.1.0-dev1
#addin nuget:?package=Fourthwall.Client&version=0.1.0-dev1&prerelease
#tool nuget:?package=Fourthwall.Client&version=0.1.0-dev1&prerelease
Fourthwall.Client
Modern .NET packages for working with the Fourthwall Platform API and signed webhooks.
Packages
Fourthwall.ClientFourthwall.Client.AspNetCoreFourthwall.Client.DependencyInjectionFourthwall.Client.Generated
What this repo provides
- a typed Kiota-based API client for the Fourthwall platform
- a transport-neutral webhook handler surface
- ASP.NET Core endpoint mapping helpers
- dependency-injection helpers for application composition
- an interactive sample that can expose a local webhook endpoint through Azure Dev Tunnels
Install
dotnet add package Fourthwall.Client
dotnet add package Fourthwall.Client.AspNetCore
Add the DI package when you want the registration helpers:
dotnet add package Fourthwall.Client.DependencyInjection
Quick start
using Fourthwall.Client;
using Fourthwall.Client.Webhooks;
FourthwallWebhookHandler handler = new();
WebhookHandleResult result = await handler.HandleAsync(request, cancellationToken);
if (result.IsAccepted)
{
Console.WriteLine("Fourthwall webhook accepted.");
}
ASP.NET Core webhook example
using Fourthwall.Client.AspNetCore;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.MapFourthwallWebhook(
"/webhooks/fourthwall",
static (_, _) => Task.FromResult(new FourthwallWebhookOptions()),
static (evt, _, _) =>
{
Console.WriteLine(evt.EventType);
return Task.CompletedTask;
});
await app.RunAsync();
Sample
The interactive sample hosts a local ASP.NET Core webhook endpoint, validates webhook signatures, and can expose that endpoint publicly through Azure Dev Tunnels:
dotnet run --project samples/Fourthwall.Client.Sample
See samples/Fourthwall.Client.Sample/README.md for the walkthrough.
Development
dotnet test Fourthwall.Client.slnx
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Agash.Webhook.Abstractions (>= 1.0.0)
- Fourthwall.Client.Generated (>= 0.1.0-dev1)
- Microsoft.Kiota.Abstractions (>= 1.22.1)
- Microsoft.Kiota.Http.HttpClientLibrary (>= 1.22.1)
- Microsoft.Kiota.Serialization.Json (>= 1.22.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Fourthwall.Client:
| Package | Downloads |
|---|---|
|
Fourthwall.Client.DependencyInjection
Dependency injection helpers for Fourthwall.Client. |
|
|
Fourthwall.Client.AspNetCore
ASP.NET Core adapter package for Fourthwall.Client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-dev1 | 197 | 3/27/2026 |