Questions tagged [asp.net-webhooks]

ASP.NET WebHooks is a framework for sending and receiving WebHooks between Web Applications and services. It is based on Microsoft .NET Framework and an ideal choice for integrating disparate services and applications.

WebHooks provide a simple mechanism for sending event notifications across web applications and external services. For example, you can subscribe to receive a WebHook when someone sends money to your PayPal account, or when a message is posted to Slack, or a picture is posted to Instagram – the opportunities are endless!

When subscribing, you provide a callback URI where you want to be notified. When an event occurs in the service you subscribe to, a WebHook is sent to your callback URI with information about what happened so that your Web Application can process it accordingly. WebHooks happen without polling and with no need to hold open a network connection while waiting for event notifications.

ASP.NET WebHooks provides support for receiving WebHooks from other parties as well as sending WebHooks so that you can notify other parties about changes in your service:

  • On the receiving side, it provides a common model for receiving and processing WebHooks from any number of WebHook providers. It comes out of the box with support for Azure Alerts and Kudu, BitBucket, Microsoft Dynamics CRM, Dropbox, GitHub, Instagram, MailChimp, PayPal, Pusher, Salesforce, Slack, Stripe, Trello, WordPress as well as IFTTT and Zapier, but it is easy to add more. It also supports queued processing of WebHooks so that they can be processed elsewhere.
  • On the sending side it provides support for managing and storing subscriptions as well as for sending event notifications to the right set of subscribers. This allows you to define your own set of events that subscribers can subscribe to and notify them when things happens. ASP.NET WebHooks provides a lot of flexibility for sending and persisting WebHooks, scaling up and out your solution, as well as sending WebHooks from WebJobs and other places in addition to your Web Application. Out of the box, WebHooks subscriptions can be stored in Azure Table Storage or SQL, but they can be stored anywhere.

Resources

61 questions
0
votes
2 answers

Azure Function Binding Types for Stream Analytics Job?

The out-of-box Visual Studio 2017 (15.5.5) template for an Azure Function creates an HttpTrigger Run method with HttpRequest and TraceLog as arguments. I'd like to use other binding types, like POCO, 'string' or 'ILogger'. I've search quite a bit…
0
votes
2 answers

TFS 2015 Web Hook to Slack Integration

I have got a requirement, When a work item is created (and status -say In progress) in TFS 2015(not vsts), I want my web hook to fire a post method which ll create a Channel in Slack, and invite few folks. 2) Once the Bug is closed - read all…
0
votes
1 answer

How to receive webhooks from Microsoft's dynamics CRM using javascript(node.js)?

I'm trying to develop an integration using node.js to receive webhooks from Microsoft's Dynamics CRM. I find a lot of code snippets, blogs and so on for asp.net. But I could not find a way to implement it using javascript which is obviously using…
HS_
  • 133
  • 8
0
votes
2 answers

TFS WebHook fails after Webapi is published to IIS

I'm using TFS 2015 Webhook to be notified when a checkin occurs. I've created an API using .NET 4.6 so I can receive the notifications. It works perfectly when I use Visual Studio 2015 to load the API, but once I publish it to IIS 7, TFS starts to…
0
votes
1 answer

Inconsistent ASP.NET WebHooks

I'm trying to set up an Azure WebJob to use a custom WebHook to push data to a Web App (which will then push it on to clients using SignalR). The WebJob is run on a schedule (it polls another service to check if there's any new data). I've based it…
Jonathan Sayce
  • 9,359
  • 5
  • 37
  • 51
0
votes
0 answers

Problems registering a receiver with Microsoft Webhooks

I'm trying to register a subscriber to events for using the following example. When I use the POST method, I get a bad request error (400), so I've attempted to visit the url where the request is sent and received using a browser and received the…
Artem
  • 1,000
  • 1
  • 15
  • 30
0
votes
0 answers

Sending JSON response via GenericJsonWebHookReceiver MVC ASP.NET

I need to send the JSON response from GenericJsonWebHookReceiver provided by Nuget package in ASP.NET. I am trying to send the JSON value in the return call like this - "return Task.FromResult(sampleJson);"  , where sampleJson is a valid JSON in…
Vikas
  • 41
  • 5
0
votes
1 answer

WordPress WooCommerce ASP.net: The WebHook signature provided by the 'ms-signature' header field does not match the value expected by the receiver

I create a proof of concept asp.net C# application to receive the WooCommerce Webhook requests. Unfortunately it seems that by default WooCommerce WebHooks don't integrate well with the ASP.NET Webhook receiver. After finding out that I should use…
Kevin Hendricks
  • 785
  • 1
  • 8
  • 36
0
votes
1 answer

asp.net-webhooks and B2C

Have you tried asp.net webhooks with ADB2C? (which is brilliant btw) Registration works just fine (App Svc Auth) but the webjob sample will never send a webhook. It seems to depend on a claim that is not available in B2C on registration. There is no…
0
votes
1 answer

Subscribe to specific event in ASP.NET WebHooks

I'm trying to learn ASP.NET WebHooks, but the docs are pretty sparse right now. What I'm trying to do is subscribe to a specific events. All the samples I can find demonstrate subscribing to all the events, which is not very useful for…
ml123
  • 1,059
  • 2
  • 12
  • 27
0
votes
1 answer

Webhooks per entity

I'm using the ASP.NET Webhooks packages to allow users to receive callbacks when certain events occur in my application. e.g. entityUpdated, entityCreated, entityDeleted I would like to expose the possibility to users of registering Webhooks only…
Stif
  • 903
  • 11
  • 21
0
votes
2 answers

Automatic Update to Microsoft Graph API Subscription

I have created webhook project with Microsoft Graph API to monitor Office 365 inbox. I made a UpdateSubscription action method which renews it for 3 days only as according to the documentation provide on…
Alvindra Dutt
  • 141
  • 1
  • 3
  • 12
0
votes
1 answer

Microsoft Graph API on existing MVC application

I am implementing a webhook using a Microsoft Graph API using the tutorial on https://github.com/microsoftgraph/aspnet-webhooks-rest-sample. I have made a demo version to work on my localhost. I have an existing web application host on Mircosoft…
0
votes
2 answers

Nuget - No items found

I am trying to add following dlls using Nuget but I am getting items not…
Gopi
  • 5,656
  • 22
  • 80
  • 146
0
votes
1 answer

Visual Studio Team Services Servicehook events : Missing drop url

I have setup a build server in VSTS (was Visual Studio Online) and connected a webhook to send me a message when a build completes. In the setup of the webhook you have the oiption to send a test message.In the test message I get the following…