C# Class Microsoft.AspNet.WebHooks.DynamicsCrmWebHookReceiver

Provides an IWebHookReceiver implementation which supports WebHooks generated by Microsoft Dynamics CRM. A sample WebHook URI is 'https://<host>/api/webhooks/incoming/dynamicscrm/{id}?code=83699ec7c1d794c0c780e49a5c72972590571fd8'. For security reasons the WebHook URI must be an https URI and contain a 'code' query parameter with the same value as configured in the 'MS_WebHookReceiverSecret_DynamicsCRM' application setting, optionally using IDs to differentiate between multiple WebHooks, for example 'secret0, id1=secret1, id2=secret2'. The 'code' parameter must be between 32 and 128 characters long. For details about Microsoft Dynamics CRM WebHooks, see http://go.microsoft.com/fwlink/?LinkId=722218.
Inheritance: Microsoft.AspNet.WebHooks.WebHookReceiver
Show file Open project: aspnet/WebHooks

Public Methods

Method Description
ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task

Method Details

ReceiveAsync() public method

public ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task
id string
context System.Web.Http.Controllers.HttpRequestContext
request System.Net.Http.HttpRequestMessage
return Task