Company
Date Published
Author
John Sheehan
Word count
1802
Language
English
Hacker News points
None

Summary

A presentation on building Twilio apps with ASP.NET MVC was given at mvcConf 2, covering ways to leverage features of the ASP.NET MVC framework for voice and SMS app development. The talk covered an order status inquiry feature using a POST request to a URL specified in the account dashboard, which responds back with TwiML to control the call. Common steps were moved into a TwilioController base class to make it easier to build TwiML responses. Request validation was used to secure controller actions by combining elements of the request and hashing them against an AuthToken. A helper library for sending SMS text messages and making outbound phone calls is available on GitHub, and will be combined with ideas from this post into a new official .NET library soon.