This demo app will shouw you how to send an SMS with .Net 6 and Minimal APIs
- You'll need a Vonage API account. You can sign up here
- You'll need the latest version of the .NET 6 SDK
In the appsettings.json
file, replace the Vonage_key
and Vonage_secret
with your Vonage API Key and Secret.
This can be run in Visual Studio 2022 by hitting F5
, or it can be run from the .NET CLI with dotnet run
.
Once started navigate to the swagger page of the website (http://localhost:/swagger), locate the SMS endpoint and click Try it out
-> Execute