Content Deep Dive
How to Receive an SMS Message with ASP.NET Core MVC and SignalR
Blog post from Vonage
Post Details
Company
Date Published
Author
Steve Lorello
Word Count
1,723
Language
English
Hacker News Points
-
Source URL
Summary
This tutorial demonstrates how to use ASP.NET Core MVC, SignalR, and the Vonage Messages API to receive SMS messages in real-time. The application uses a virtual phone number purchased from Vonage to receive incoming SMS messages. When an SMS message is received, it is sent to all connected browser clients through SignalR, allowing them to display the message in real-time on their web page. The tutorial covers the necessary steps to set up the project, including installing dependencies, creating an SMS hub, configuring middleware, building an SMS controller, and adding a frontend. It also includes instructions for testing the application using Ngrok.