This code is not production ready. It is meant to help you integrate quickly with SendGrid when developing for ASP.NET/Microsoft Azure. You will need to incorporate error handling and testing.
The companion blog post, which explains the usage of this code can be found here.
If you create something cool with this code, let us know so we can include you in the SendGrid Developer Community.
Please let me know how I can improve this tutorial with a pull request or open an issue. Thanks!