Receive webhook callbacks of XUMM in .NET / C# environments.
- Create a new ASP.NET Core Blazor Server-App project.
- Install NuGet-package:
XUMM.NET.SDK.Webhooks. - Create an implementation of
IXummWebhookProcessor, for exampleXummWebhookProcessor. - Add the following code block before
builder.Build()inProgram.cs:
builder.Services.AddXummWebhooks<XummWebhookProcessor>();- Add the following code block before
app.Run()inProgram.csto map the Xumm Webhooks controller.:
app.MapXummControllerRoute();- Hit
F5: you're now running a completely empty Blazor server-side App with XUMM.NET.SDK.Webhooks. - Start building your app. For reference, browse the XUMM.NET.ServerApp to see all the options.
Create your app and set your webhook URL for callbacks at the XUMM Developer Console:
More information about the webhooks, etc. please check the XUMM API Docs: