Implementation of Webhook receiver

net 6 newbie 121 Reputation points
2022-09-02T05:34:39.87+00:00

I am trying to create webhook receiver using .Net 5.

But the Nuget Package Microsoft.AspNetCore.Webhooks.Receivers.Custom appears to be depreciated. Is there any alternative Nuget package which works on .Net 5/.Net 6?

Which template is better for webhook receiver implementation (like MVC,Web API,Console etc)?

Any supporting links for implementation of webhook receiver using .Net 5/.Net 6 will be a great help.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,417 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 57,166 Reputation points
    2022-09-02T15:10:20.353+00:00

    As a web hook typically is a single endpoint, the minimal api makes most sense:

    https://learn.microsoft.com/en-us/aspnet/core/tutorials/min-web-api?view=aspnetcore-6.0

    0 comments No comments