To run this sample:
- Configure the project using user-secrets
dotnet user-secrets set TwilioAccountSid <YourAccountSid>
dotnet user-secrets set TwilioAuthToken <YourAuthToken>
# if you want to use a Messaging Service:
dotnet user-secrets set TwilioMessagingServiceSid <YourMessagingServiceSid>
# if you don't want to use a Messaging Service:
dotnet user-secrets set AlphanumericSender <YourAlphanumericSender>
- Run the project with the following arguments:
dotnet run --environment=Development --UseMessagingService=<Replace with True/False>