Configure the ASP.NET App
Open your appsettings.json file and add the following two fields to it:
VONAGE_API_KEY: Your API keyVONAGE_API_SECRET: Your API secret
You can find your API key and secret in the Dashboard
How to Receive SMS Delivery Receipts with ASP.NET Core MVC
Delivery receipts allow you to get information about when an SMS is delivered to a user's handset. This tutorial shows how you can receive these delivery receipt notifications in your ASP .NET application.
手順
1
Introduction to this tutorial2
Prerequisites3
Create the SMS Project File4
Add Vonage Dotnet SDK5
Create Send SMS Model6
Create a Send SMS View7
Set up Startup Route8
Add an SMS Controller9
Add Delivery Receipt Route to Controller10
Configure the ASP.NET App11
Run the .NET App12
Conclusion