.NET

Add SMS Controller

Right-click on the Controllers Folder and select add->Controller. Select "MVC Controller - Empty" and name it SmsController.

Add a using statements for Vonage.Messaging and Vonage.Utility at the top of this file.

Add Receive SMS Action

Finally we'll need to add a route to receive the webhook from Vonage, parse out the SMS data structure, and print some stuff to our console:

How to Receive an SMS Message with ASP.NET Core MVC

A tutorial to show how your ASP .NET MVC application can use the Vonage .NET SDK to receive SMS messages from your users and display them in your output window.

以下の言語で利用可能:
.NET
手順
1
Introduction to this tutorial
2
Prerequisites
3
Create the SMS Project File
4
Add Vonage Dotnet SDK
5
Add an SMS Controller
6
Run the .NET App
7
Conclusion