Use Twilio to send SMS alerts so that you never miss a critical issue.
-
First clone this repository and
cd
into its directory:git clone [email protected]:TwilioDevEd/server-notifications-csharp.git cd server-notifications-csharp
-
Create a copy of
ServerNotifications.Web/Local.config.sample
and rename it toServerNotifications.Web/Local.config
. -
Open
ServerNotifications.Web/Local.config
and update the following keys:<appSettings> <add key="TwilioAccountSid" value="TWILIO_ACCOUNT_SID"/> <add key="TwilioAuthToken" value="TWILIO_AUTH_TOKEN"/> <add key="TwilioPhoneNumber" value="TWILIO_PHONE_NUMBER"/> </appSettings>
You can find your Twilio credentials Account SID and Auth Token at https://www.twilio.com/user/account/settings
Also, you can find a Twilio Phone Number at https://www.twilio.com/user/account/phone-numbers/incoming
-
Open
ServerNotifications.Web/App_Data/administrators.csv
and update the the list of administrators accordingly to your requirements. -
Build the solution and run the web project. You'll receive a text shortly with details on the exception.
That's it!
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.