Skip to content

Latest commit

 

History

History

inbound

Quickstart: Inbound webhooks with C# and ASP.NET Core

An example application demonstrating receiving a webhook with C# and ASP.NET Core.

Before you begin

You'll need:

Get the code

git clone https://github.com/hookdeck/quickstarts hookdeck-quickstarts
cd hookdeck-quickstarts/dotnet/inbound

Configuration (optional)

To use webhook verification, get your webhook secret from the Settings -> Secrets section of your Hookdeck Project.

dotnet user-secrets init --project "."
dotnet user-secrets set "inbound:HookdeckWebhookSecret" "YOUR-WEBHOOK-SECRET" \
  --project "."

Run the app

dotnet run

Run the Hookdeck localtunnel using the Hookdeck CLI:

hookdeck listen 3030 inbound-dotnet