❔ Webhook Package for Microsoft.AspNetCore?
Trying to set up my first webhook receiver and I found this link: https://learn.microsoft.com/en-us/aspnet/webhooks/receiving/receivers
Unfortunately though, the official nuget package seems to want Microsoft.AspNet.WebApi.Core where my project is using Microsoft.AspNetCore and I think this is causing it to not work? It's getting a yellow exclamation mark under the "Packages" section.
Is there a package people use they could recommend? Or am I doing something wrong? I believe I'm using the latest version of Asp.Net...
5 Replies
... I think I may have found my answer but would love to know if I'm write because this sounds a bit... Naff?
https://github.com/dotnet/aspnetcore/issues/10898
a webhook receiver is literally just an endpoint in an ASP.NET Core application.
you dont need a specific package or anything
Thank you! I've just been doing some testing and it appears it is just a POST request so I just sent up a [HTTPPost] Method and it's working through Swagger. Just got to try it exposing the service to the real world and see what happens when I trigger the event
yup!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.