Twilio.AspNet.Core
5.68.3
Previous versions contain bugs and vulnerabilities. See CHANGELOG.md for more details.
See the version list below for details.
dotnet add package Twilio.AspNet.Core --version 5.68.3
NuGet\Install-Package Twilio.AspNet.Core -Version 5.68.3
<PackageReference Include="Twilio.AspNet.Core" Version="5.68.3" />
paket add Twilio.AspNet.Core --version 5.68.3
#r "nuget: Twilio.AspNet.Core, 5.68.3"
// Install Twilio.AspNet.Core as a Cake Addin #addin nuget:?package=Twilio.AspNet.Core&version=5.68.3 // Install Twilio.AspNet.Core as a Cake Tool #tool nuget:?package=Twilio.AspNet.Core&version=5.68.3
Twilio.AspNet
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.
Twilio.AspNet.Mvc
Requirements
Requires .NET 4.5.1 or later with ASP.NET MVC 3-5.
Installation
Install-Package Twilio.AspNet.Mvc
Twilio.AspNet.Core
Requirements
Requires .NET Core 1.0 or later with ASP.NET Core 1.0 or later.
Installation
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();
response.Message(
$"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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 1.6
- Microsoft.AspNetCore.Mvc.Core (>= 1.0.4)
- NETStandard.Library (>= 1.6.1)
- Twilio (>= 5.68.1)
- Twilio.AspNet.Common (>= 5.68.3)
NuGet packages (15)
Showing the top 5 NuGet packages that depend on Twilio.AspNet.Core:
Package | Downloads |
---|---|
BlueBox.Core
Core Framework |
|
OneSixOneStudios.Abstractions
Package Description |
|
DanSaul.SharedCode
Package Description |
|
Pact.Sms
📲 SMS services |
|
AeonPass.SharedKernel
Package Description |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Twilio.AspNet.Core:
Repository | Stars |
---|---|
SciSharp/BotSharp
AI Multi-Agent Framework in .NET
|
|
meteatamel/knative-tutorial
A collection of samples for Knative Serving, Knative Eventing and Knative-GCP projects.
|
Version | Downloads | Last updated | |
---|---|---|---|
8.1.1 | 5,754 | 12/6/2024 | |
8.1.0 | 598 | 12/5/2024 | |
8.0.2 | 1,391,726 | 5/11/2023 | |
8.0.1 | 22,572 | 5/2/2023 | |
8.0.1-rc | 712 | 4/21/2023 | |
8.0.0 | 255,540 | 3/2/2023 | |
7.0.0 | 290,930 | 11/18/2022 | |
7.0.0-rc | 716 | 11/17/2022 | |
6.0.0 | 834,851 | 8/5/2022 | |
6.0.0-alpha2 | 700 | 8/4/2022 | |
6.0.0-alpha | 771 | 7/20/2022 | |
5.77.0 | 170,735 | 7/19/2022 | |
5.73.0 | 334,407 | 4/5/2022 | |
5.71.0 | 145,681 | 2/24/2022 | |
5.68.3 | 366,925 | 11/24/2021 | |
5.37.2 | 854,485 | 11/6/2020 | |
5.33.1 | 817,754 | 10/16/2019 | |
5.20.1 | 475,115 | 10/26/2018 | |
5.9.7 | 183,914 | 3/2/2018 | |
5.8.3 | 71,028 | 11/10/2017 |
First release