sample app demonstrating SMS notifications using ASP.NET MVC
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ServerNotifications.Web.Test
ServerNotifications.Web
.gitignore
README.md
ServerNotifications.sln
appveyor.yml

README.md

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 git@github.com: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!