aspnet / WebHooks

[Archived] Libraries to create and consume web hooks on ASP.NET Core. Project moved to https://github.com/aspnet/AspLabs
Apache License 2.0
627 stars 439 forks source link

Duplicated registrations with Custom Sql Storage #100

Closed rubentacastro02 closed 6 years ago

rubentacastro02 commented 7 years ago

When you register a webhook receiver with sql storage it allows duplicated registers of the same receiver, causing it to receive multiple messages when the event he was listening to occurs.

I use this example: https://blogs.msdn.microsoft.com/webdev/2015/11/07/updates-to-microsoft-asp-net-webhooks-preview/

This is a bug or I have made somthing wrong?

HenrikFrystykNielsen commented 7 years ago

You mean that users can register the same WebHook URI multiple times? Yes, that's correct, we don't prevent the same URI to be registered multiple times.

dougbu commented 6 years ago

Thank you for your feedback. We're closing this issue as the current behavior discussed seems to be by design.