Twilio.AspNet.Mvc 5.68.3

.NET Framework 4.5.1
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package Twilio.AspNet.Mvc -Version 5.68.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package Twilio.AspNet.Mvc --version 5.68.3
<PackageReference Include="Twilio.AspNet.Mvc" Version="5.68.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Twilio.AspNet.Mvc --version 5.68.3
#r "nuget: Twilio.AspNet.Mvc, 5.68.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Twilio.AspNet.Mvc as a Cake Addin
#addin nuget:?package=Twilio.AspNet.Mvc&version=5.68.3

// Install Twilio.AspNet.Mvc as a Cake Tool
#tool nuget:?package=Twilio.AspNet.Mvc&version=5.68.3


Build status

ASP.NET tools for use with v5.x of the Twilio helper library for use with:

  • ASP.NET MVC 3-5 on the .NET Framework
  • ASP.NET Core 1-2 on .NET Core

You only need this library if you wish to respond to Twilio webhooks for voice calls and SMS messages. If you only need to use the Twilio REST API's, then you only need the Twilio helper library.



Requires .NET 4.5.1 or later with ASP.NET MVC 3-5.


Install-Package Twilio.AspNet.Mvc



Requires .NET Core 1.0 or later with ASP.NET Core 1.0 or later.


Install-Package Twilio.AspNet.Core

Code Samples for Either Library

Incoming SMS

using Twilio.AspNet.Common;
using Twilio.AspNet.Mvc; // or .Core
using Twilio.TwiML;

namespace WebApplication23.Controllers
    public class SmsController : TwilioController
        // GET: Sms
        public TwiMLResult Index(SmsRequest request)
            var response = new MessagingResponse();
                $"Hey there {request.From}! " +
                "How 'bout those Seahawks?"
            return TwiML(response);

Incoming Voice Call

using Twilio.AspNet.Common;
using Twilio.AspNet.Mvc; // or .Core
using Twilio.TwiML;

namespace WebApplication23.Controllers
    public class VoiceController : TwilioController
        // GET: Voice
        public TwiMLResult Index(VoiceRequest request)
            var response = new VoiceResponse();
            response.Say($"Welcome. Are you from {request.FromCity}?");
            return TwiML(response);
Product Versions
.NET Framework net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Twilio.AspNet.Mvc:

Repository Stars
Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator.
Version Downloads Last updated
6.0.0 3,480 8/5/2022
6.0.0-alpha2 48 8/4/2022
6.0.0-alpha 71 7/20/2022
5.77.0 2,723 7/19/2022
5.73.0 26,424 4/5/2022
5.71.0 5,516 2/24/2022
5.68.3 25,750 11/24/2021
5.37.2 126,342 11/6/2020
5.33.1 227,979 10/16/2019
5.20.1 355,883 10/26/2018
5.9.7 212,097 3/2/2018
5.9.6 7,279 2/12/2018
5.8.3 38,035 11/9/2017
5.8.1 10,838 10/31/2017
5.0.2 58,075 6/7/2017
5.0.1 48,818 2/22/2017

Broke out Twilio.AspNet.Common into separate package.