sendgrid-csharp icon indicating copy to clipboard operation
sendgrid-csharp copied to clipboard

Move webhook code to library

Open mausch opened this issue 4 years ago • 3 comments

I see there are webhook event types and deserialization code in https://github.com/sendgrid/sendgrid-csharp/tree/e66855a48e17c99fb8c7b06b58e96c62525fc303/examples/eventwebhook/consumer/Src/EventWebhook .

This would be more useful if it was a part of the nuget package.

mausch avatar Sep 16 '21 15:09 mausch

If you are looking for a library that has a built-in parser for events as well as inbound-emails, may I suggest StrongGrid (disclaimer: I'm the author of this library).

Jericho avatar Sep 16 '21 23:09 Jericho

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

shwetha-manvinkurke avatar Sep 21 '21 20:09 shwetha-manvinkurke

For what it's worth, I use the StrongGrid library from @Jericho in my .NET Core Webhook app and it rocks.

The Webhook Event parser makes life so much easier than deserializing the JSON yourself. One line of code. Awesome.

enjoau avatar Sep 22 '21 23:09 enjoau