Twilio.AspNet.Core 5.71.0

.NET 6.0 .NET Standard 1.6
There is a newer version of this package available.
See the version list below for details.
dotnet add package Twilio.AspNet.Core --version 5.71.0
NuGet\Install-Package Twilio.AspNet.Core -Version 5.71.0
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.
<PackageReference Include="Twilio.AspNet.Core" Version="5.71.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Twilio.AspNet.Core --version 5.71.0
#r "nuget: Twilio.AspNet.Core, 5.71.0"
#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.Core as a Cake Addin
#addin nuget:?package=Twilio.AspNet.Core&version=5.71.0

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


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 net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Twilio.AspNet.Core:

Package Downloads

Core Framework


Package Description


📲 SMS services


Package Description


Package Description

GitHub repositories (1)

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

Repository Stars
A collection of samples for Knative Serving, Knative Eventing and Knative-GCP projects.
Version Downloads Last updated
7.0.0 1,249 11/18/2022
7.0.0-rc 39 11/17/2022
6.0.0 80,428 8/5/2022
6.0.0-alpha2 74 8/4/2022
6.0.0-alpha 162 7/20/2022
5.77.0 19,961 7/19/2022
5.73.0 111,052 4/5/2022
5.71.0 79,342 2/24/2022
5.68.3 224,643 11/24/2021
5.37.2 496,266 11/6/2020
5.33.1 632,222 10/16/2019
5.20.1 386,200 10/26/2018
5.9.7 155,629 3/2/2018
5.8.3 56,820 11/10/2017

First release