asp.net web hooks code example
Example: asp.net web hooks
public class GitHubHandler : WebHookHandler
{
public override Task ExecuteAsync(string receiver, WebHookHandlerContext context)
{
string action = context.Actions.First();
JObject data = context.GetDataOrDefault();
return Task.FromResult(true);
}
}