Skip to content

itnachos/server-notifications-csharp

 
 

Repository files navigation

Twilio

Server Notifications on ASP.NET MVC

Build status

Use Twilio to send SMS alerts so that you never miss a critical issue.

Read the full tutorial here!

Local development

  1. First clone this repository and cd into its directory:

    git clone [email protected]:TwilioDevEd/server-notifications-csharp.git
    
    cd server-notifications-csharp
    
  2. Create a copy of ServerNotifications.Web/Web.config.sample and rename it to ServerNotifications.Web/Web.config.

  3. Open ServerNotifications.Web/Web.config and update the following keys:

    <appSettings>
      <!-- omitted for clarity -->
      <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

  4. Open ServerNotifications.Web/App_Data/administrators.csv and update the the list of administrators accordingly to your requirements.

  5. Build the solution.

    That's it!

About

sample app demonstrating SMS notifications using ASP.NET MVC

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 58.5%
  • JavaScript 39.0%
  • CSS 2.0%
  • Classic ASP 0.5%