From the course: ASP.NET Core: Communication Management
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Set up a SendGrid development environment - ASP.NET Core Tutorial
From the course: ASP.NET Core: Communication Management
Set up a SendGrid development environment
- [Instructor] Now that you have set up the SendGrid account and you have an API key, let us set up the development environment. For that you'll first install the SendGrid NuGet package, then add the API key that you copied on the last part to the appsettings.json file. And then you are going to create an EmailService file, which we're also going to configure in the startup.cs file. By the end of this part, you'll learn how to read the API key, using the IConfiguration interface. So, let us go to Visual Studio and see this in action. Now, before you write any code in here, let us run this project and see what we have. This is a simple ASP.NET Core MVC Application. In here we have two options, the home button and the compose button. When you click the compose button, you'll get this view, where you can enter the first name, last name, subject, email, and all the other details, and click the send button to send an email,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Set up a SendGrid account6m 39s
-
(Locked)
Set up a SendGrid development environment10m 53s
-
(Locked)
Send an email to a single receipt using SendGrid7m 22s
-
(Locked)
Challenge: Send an email to multiple receipts using SendGrid57s
-
(Locked)
Solution: Send an email to multiple receipts using SendGrid5m 30s
-
(Locked)
Send an attachment using SendGrid7m 59s
-
-
-