{"id":25010897,"url":"https://github.com/janlenoch/cloud-example-webhook-cache-invalidation","last_synced_at":"2025-03-30T02:40:51.008Z","repository":{"id":223543962,"uuid":"102731716","full_name":"JanLenoch/cloud-example-webhook-cache-invalidation","owner":"JanLenoch","description":"An example app that showcases how webhooks in Kentico Cloud can be used to invalidate content cached in web app's memory cache.","archived":false,"fork":false,"pushed_at":"2017-09-25T16:57:10.000Z","size":556,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-05T04:55:03.322Z","etag":null,"topics":["aspnet-core","caching","dotnet-core","kentico-cloud","mvc","visual-studio","webhook"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JanLenoch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-09-07T12:00:06.000Z","updated_at":"2017-11-14T12:29:06.000Z","dependencies_parsed_at":"2024-02-20T20:25:00.807Z","dependency_job_id":"090dc067-ebcc-4eff-a46d-fb01b76bbafb","html_url":"https://github.com/JanLenoch/cloud-example-webhook-cache-invalidation","commit_stats":null,"previous_names":["janlenoch/cloud-example-webhook-cache-invalidation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLenoch%2Fcloud-example-webhook-cache-invalidation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLenoch%2Fcloud-example-webhook-cache-invalidation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLenoch%2Fcloud-example-webhook-cache-invalidation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLenoch%2Fcloud-example-webhook-cache-invalidation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JanLenoch","download_url":"https://codeload.github.com/JanLenoch/cloud-example-webhook-cache-invalidation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246269911,"owners_count":20750319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnet-core","caching","dotnet-core","kentico-cloud","mvc","visual-studio","webhook"],"created_at":"2025-02-05T04:55:10.165Z","updated_at":"2025-03-30T02:40:50.977Z","avatar_url":"https://github.com/JanLenoch.png","language":"C#","readme":"# Webhook Cache Invalidation\n\nThe example code for the [Clearing Obsolete Cache Entries with Webhooks](https://kenticocloud.com/blog/clearing-obsolete-cache-entries-with-webhooks) article in the [Kentico Cloud blog](https://kenticocloud.com/blog).\n\nThe example ASP.NET MVC Core app showcases how webhooks in Kentico Cloud can be used to invalidate content cached in web app's memory cache.\n\n## How To Run the Code\n\nClone the repo and edit the \"KenticoCloudProjectId\" and \"KenticoCloudWebhookSecret\" values in the [appsettings.json](https://github.com/Kentico/cloud-example-webhook-cache-invalidation/blob/master/WebhookCacheInvalidationMvc/appsettings.json) file. The latter one should be generated in Kentico Cloud \u003e main menu \u003e Webhooks \u003e Create new Webhook. In that dialog, also insert the publicly routable URL address of your app with \"/webhook\" at its end (e.g. http://example.com/webhook).\n\nYou may also wish to deploy the example app to your Azure subscription via the \"Deploy to Azure\" button below.\n\n[![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/)\n\nOnce deployed, you should add the above two settings into your App Service's [Application settings](https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-configure).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlenoch%2Fcloud-example-webhook-cache-invalidation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanlenoch%2Fcloud-example-webhook-cache-invalidation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlenoch%2Fcloud-example-webhook-cache-invalidation/lists"}