Fourthwall.Client.AspNetCore 0.1.0-dev1

This is a prerelease version of Fourthwall.Client.AspNetCore.
dotnet add package Fourthwall.Client.AspNetCore --version 0.1.0-dev1
                    
NuGet\Install-Package Fourthwall.Client.AspNetCore -Version 0.1.0-dev1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fourthwall.Client.AspNetCore" Version="0.1.0-dev1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fourthwall.Client.AspNetCore" Version="0.1.0-dev1" />
                    
Directory.Packages.props
<PackageReference Include="Fourthwall.Client.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fourthwall.Client.AspNetCore --version 0.1.0-dev1
                    
#r "nuget: Fourthwall.Client.AspNetCore, 0.1.0-dev1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fourthwall.Client.AspNetCore@0.1.0-dev1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fourthwall.Client.AspNetCore&version=0.1.0-dev1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fourthwall.Client.AspNetCore&version=0.1.0-dev1&prerelease
                    
Install as a Cake Tool

Fourthwall.Client

Modern .NET packages for working with the Fourthwall Platform API and signed webhooks.

Packages

  • Fourthwall.Client
  • Fourthwall.Client.AspNetCore
  • Fourthwall.Client.DependencyInjection
  • Fourthwall.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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-dev1 39 3/27/2026