StrongGrid is a strongly typed library for SendGrid's v3 API.
It started out in February 2016 as a fork of SendGrid's own library. I submited a pull request to SendGrid in March 2016 but it was not accepted and eventually closed in June 2016.
In October 2016 I decided to release this library as a nuget package since SendGrid's library was still using dynamic
and lacking strong typing.
StrongGrid is available as a Nuget package.
The easiest way to include StrongGrid in your C# project is by adding the nuget package to your project:
PM> Install-Package StrongGrid
Once you have the StrongGrid library properly referenced in your project, add the following namespace:
using StrongGrid;
StrongGrid supports the following .NET frameworks:
- 4.5.2
- 4.6
- 4.6.1
- 4.6.2
- .Net Standard 1.6
I plan to also support .NET Core in a future release.
var apiKey = "... your api key...";
var client = new Client(apiKey);
var newApiKey = client.ApiKeys.Create("My New Key", new[] { "mail.send", "alerts.create", "alerts.read" });