Skip to content

nexmo-community/blazor-sms-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blazor SMS Dashboard

Nexmo is now known as Vonage

Welcome to Vonage

If you're new to Vonage, you can sign up for a Vonage account and get some free credit to get you started.

Prequisites

  • We're going to need a Vonage Communications API Account, if you don't have one you can sign up here
  • We'll need Visual Studio 2019 to use Blazor WebAssembly
  • We're going to be using Ngrok for testing

Run Ngrok

Run ngrok will the command:

ngrok http --host-header=localhost:5000 5000

Update Configuration

Find your api key and api secret in Vonage Dashboard, open up the VonageSmsDashboard.Server/appsettings.json file and change the API_KEY and API_SECRET to your api key and secret respectively.

Configure Webhooks

Runnign the ngrok command will result in a public facing url looking like: http://fb09abd3c106.ngrok.io. Go to your Vonage Dashboard and chagne the url for inbound messages and delivery receipts to https://your.ngrok.hostname/webhooks/inbound-sms and https://your.ngrok.hostname/webhooks/dlr respectively, change the type to POST-JSON and click submit to change everything.

Run Your App

You can run the app either directly from Visual Studio, or using the .NET CLI in the VonageSmsDashboard.Server folder using the dotnet run command.

Getting Help

We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:

Further Reading

About

An example of an SMS dashboard using blazor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published