title: AspNetWebHooks and notifying to webhooks outside of a MVC or WebAPI controller
body: <p>I am using the libary <a href="https://github.com/aspnet/AspNetWebHooks" rel="nofollow noreferrer">https://github.com/aspnet/AspNetWebHooks</a> to implement custom webhooks.
  I use both the MVC and WebAPI controller extensions to call the NotifyAsync() function to send webhooks. I have a WCF callback function I want to call NotifyAsync(). How do I go about sending the webhook since this is not a controller? My question is how do I get access to the web hook manager? Looking at the WebApi controller extension it uses the below code to get access.</p>
  <pre><code>        // How do I get access to the webhook manager? 
          var manager = controller.Configuration.DependencyResolver.GetManager();
          return await manager.NotifyAllAsync(notifications, predicate);
  </code></pre>