{"repo":"octokit/webhooks.net","free":true,"listed":false,"github":"https://github.com/octokit/webhooks.net","clone":"git clone https://github.com/octokit/webhooks.net.git","description":"GitHub webhook events toolset for .NET","language":"C#","stars":69,"topics":["octokit","octokit-net","github-api","github-webhooks","github-webhook","webhooks","sdk","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Octokit.Webhooks Libraries to handle GitHub Webhooks in .NET applications. Usage ASP.NET Core 1. dotnet add package Octokit.Webhooks.AspNetCore 2. Create a class that derives from WebhookEventProcessor and override any of the virtual methods to handle webhooks from GitHub. For example, to handle Pull Request webhooks: 3. Register your implementation of WebhookEventProcessor : 4. Map the webhook endpoint: MapGitHubWebhooks() takes two optional parameters: path . Defaults to /api/github/webhooks , the URL of the endpoint to use for GitHub. secret . The secret you have configured in GitHub, if you have set this up. Azure Functions NOTE : Support is only provided for isolated process Azure Functions. 1. dotnet add package Octokit.Webhooks.AzureFunctions 2. Create a class that derives from WebhookEventProcessor and override any of the virtual methods to handle webhooks from GitHub. For example, to handle Pull Request webhooks: 3. Register your implementation of WebhookEventProcessor and configure the webhook function: ConfigureGitHubWebhooks has two overloads: ConfigureGitHubWebhooks(string? secret = null) . Pass the secret you have configured in GitHub, if you have set this up. ConfigureGitHubWebhooks(Func configure) . Resolve the secret from configuration at runtime. The function is available on the /api/github/webhooks endpoint. Thanks - octokit/webhooks - terrajobst/Terrajobst.GitHubEvents - Dotnet-Boxed/Templates License All packages in this repository are licensed under the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/octokit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/octokit/webhooks.net/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}