https://github.com/clarktozer/sp-webhooks
Complete .Net core web api project for consuming SharePoint webhooks.
https://github.com/clarktozer/sp-webhooks
csharp pnp sharepoint sharepoint-online
Last synced: 29 days ago
JSON representation
Complete .Net core web api project for consuming SharePoint webhooks.
- Host: GitHub
- URL: https://github.com/clarktozer/sp-webhooks
- Owner: clarktozer
- License: mit
- Created: 2018-06-24T00:55:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-27T23:01:58.000Z (about 7 years ago)
- Last Synced: 2025-01-28T15:40:26.374Z (8 months ago)
- Topics: csharp, pnp, sharepoint, sharepoint-online
- Language: C#
- Homepage:
- Size: 560 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sp-webhooks
Complete .Net core web api project for consuming SharePoint webhooks. Includes database setup using entity framework for change token storage, and a REST endpoint for the subscriptions to POST to.## Deploy Instructions for Azure
What you need: App service, SQL server and database, service bus namespace and queue.Grab all connection strings and the queue name and enter them into the appsettings.json files or override them in the app services settings through the portal.
Generate the DB from entity framework migrations.
Publish the Web project to the app service.
Publish the web job to the app services web jobs (zip up the debug folder in bin and manually upload through Azure)
In order to see the output of the processing of the messages, look at the KUDU logs for the webjob. This will print the changes to the list that the webhook is subscribed to.