What's new in the Twilio helper library for ASP.NET (v8.1.1 - December 2024)

December 10, 2024
Written by
Reviewed by

Illustration of a robot announcing the December 2024 update to the Twilio helper library for ASP.NET.

The Twilio helper library for ASP.NET (Twilio.AspNet) is a community-driven open-source project to make integrating Twilio with ASP.NET easier, for both ASP.NET Core and ASP.NET MVC on .NET Framework. This library helps our customers achieve common use cases in .NET.

This month marks the first new release of the helper library for the latest version of .NET, with library 8.1.1. With the release of this new update, the library has compatibility with .NET 9. This is not a major package release, but it does provide enhancements necessary to keep your code secure and up to date.

Wondering about previous releases? You can read about version 8.0.0 and prior releases here.

Breaking Changes

  • The Twilio library dependency uses the latest version of Twilio, Twilio 7.8.0.
  • Enabled the Nullable language feature from .NET 8 (and later).
  • Added missing NumSegments field to SMS Request
  • Adds in in PolySharp to help update your code to the latest version of C#.
  • Twilio.AspNet.Core dropped support for .NET 6, which is no longer supported by Microsoft.
  • Uses the latest version of .NET, 9, for running tests.

How to Use and Contribute

As a developer, you can take advantage of these new features and enhancements now by installing the latest version of the Twilio helper library for ASP.NET. You can find the installation instructions in the README of the Twilio.AspNet GitHub repository. If you like this library, consider giving the GitHub repo a star. Submit any issues or PRs that you have if you are interested in contributing! Twilio's ASP.NET libraries are an open source project and we could not do this without the aid of our community.

Thank you and thanks to all our community contributors. Have fun building!

Amanda Lange is a .NET Engineer of Technical Content. She is here to teach how to create great things using C# and .NET programming. She can be reached at amlange [ at] twilio.com.