---
title: "Swimburger - Blog - Twilio"
description: "Swimburger.net is Niels Swimberghe's technical blog about .NET, cloud, and web development."
canonical: "https://swimburger.net/blog/twilio"
---

[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/amcdy2bu/nhbh0ijxx-eey-suh0uc9bntcduzv37zgy37ngzb2u6x8width-1616.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/amcdy2bu/nhbh0ijxx-eey-suh0uc9bntcduzv37zgy37ngzb2u6x8width-1616.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover/media/amcdy2bu/nhbh0ijxx-eey-suh0uc9bntcduzv37zgy37ngzb2u6x8width-1616.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover/media/amcdy2bu/nhbh0ijxx-eey-suh0uc9bntcduzv37zgy37ngzb2u6x8width-1616.png 500w" sizes="250px" width="250" height="250" alt="Announcing the Webhook Plugin: Validate your webhooks with the new webhook plugin for the Twilio CLI" decoding="async" loading="lazy"></picture>

## Announcing the Webhook Plugin: Validate your webhooks with the new webhook plugin for the Twilio CLI

3/14/2023 - Twilio

Emulate webhook requests to test your Twilio webhook applications using the new webhook plugin for the Twilio CLI.



](/blog/twilio/announcing-the-webhook-plugin)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/ba0ptlme/c366rsbrnwusvkwu5tlhiednf2u_upsgflernhmxdlncswidth-1616.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/ba0ptlme/c366rsbrnwusvkwu5tlhiednf2u_upsgflernhmxdlncswidth-1616.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover/media/ba0ptlme/c366rsbrnwusvkwu5tlhiednf2u_upsgflernhmxdlncswidth-1616.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover/media/ba0ptlme/c366rsbrnwusvkwu5tlhiednf2u_upsgflernhmxdlncswidth-1616.png 500w" sizes="250px" width="250" height="250" alt="Use XML Literals in Visual Basic .NET to generate TwiML" decoding="async" loading="lazy"></picture>

## Use XML Literals in Visual Basic .NET to generate TwiML

3/14/2023 - .NET

Learn how to generate TwiML instructions to respond to texts and voice calls using XML Literals in Visual Basic .NET and ASP.NET Core Minimal APIs.



](/blog/dotnet/use-xml-literals-in-visual-basic-dotnet-to-generate-twiml)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/g20lioy2/tj9v5o0oobs8fux5ohohkjcuqxnjk-nyjawidth-1616format-png.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/g20lioy2/tj9v5o0oobs8fux5ohohkjcuqxnjk-nyjawidth-1616format-png.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover/media/g20lioy2/tj9v5o0oobs8fux5ohohkjcuqxnjk-nyjawidth-1616format-png.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover/media/g20lioy2/tj9v5o0oobs8fux5ohohkjcuqxnjk-nyjawidth-1616format-png.png 500w" sizes="250px" width="250" height="250" alt="Generate TwiML using Strings in C#" decoding="async" loading="lazy" style="background-color:#121c2d"></picture>

## How to generate TwiML using Strings in C#

2/21/2023 - .NET

Learn how Twilio uses webhooks and TwiML to give you control over how to respond to a call or text message. You can generate TwiML using strings in many ways, and with C# 11 you can now also use Raw String Literals.



](/blog/dotnet/how-to-generate-twiml-using-strings-in-csharp)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/aiddtixz/py9oh53qzeh8edhp301dzk4s05noejgmod-_cncljfkrrwidth-1616.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/aiddtixz/py9oh53qzeh8edhp301dzk4s05noejgmod-_cncljfkrrwidth-1616.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover/media/aiddtixz/py9oh53qzeh8edhp301dzk4s05noejgmod-_cncljfkrrwidth-1616.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover/media/aiddtixz/py9oh53qzeh8edhp301dzk4s05noejgmod-_cncljfkrrwidth-1616.png 500w" sizes="250px" width="250" height="250" alt="Use Raw String Literals to generate TwiML in C# 11" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## Use Raw String Literals to generate TwiML in C# 11

2/15/2023 - .NET

Learn how Twilio uses webhooks and TwiML to give you control over how to respond to a call or text message. You can generate TwiML in many ways, and with C# 11 you can now also use Raw String Literals.



](/blog/dotnet/use-raw-string-literals-to-generate-twiml-in-csharp-11)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/lyung0ju/use_visual_studio_port_tunneling.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/lyung0ju/use_visual_studio_port_tunneling.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover/media/lyung0ju/use_visual_studio_port_tunneling.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover/media/lyung0ju/use_visual_studio_port_tunneling.png 500w" sizes="250px" width="250" height="250" alt="Use Visual Studio dev tunnels to handle Twilio Webhooks" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## Use Visual Studio dev tunnels to handle Twilio Webhooks

2/8/2023 - .NET

Learn how to develop webhooks on your local machine using Visual Studio dev tunnels and ASP.NET Core.



](/blog/dotnet/use-visual-studio-dev-tunnels-to-handle-twilio-webhooks)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.25765433625642226/media/fbubucw4/ios-screenshot_iphone13red_portrait.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.25765433625642226/media/fbubucw4/ios-screenshot_iphone13red_portrait.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.25765433625642226/media/fbubucw4/ios-screenshot_iphone13red_portrait.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.25765433625642226/media/fbubucw4/ios-screenshot_iphone13red_portrait.png 500w" sizes="250px" width="250" height="250" alt="Conversation between an iPhone user and the SMS bot. The user says &quot;Hi&quot; and the bot responds with &quot;Welcome to the U.S. Representative lookup bot. Respond with your address. The user sends an address and the bot responds with &quot;Your representative is Gerald E. Connolly (Democratic Party) representing Virginia&quot;s 11th congressional district. Then the bot sends an image of the representative." decoding="async" loading="lazy" style="background-color:#0f1038"></picture>

## Find your US Representatives and Congressional Districts with SMS and ASP.NET Core

8/2/2022 - .NET

Learn how to create an SMS bot that looks up U.S. Congressional Districts and Representatives using the Google Civic Information API, C#, ASP.NET Core Minimal API, and Twilio SMS.



](/blog/dotnet/find-your-us-representatives-and-congressional-districts-with-sms-and-aspdotnet-core)[

<picture><img class="blog-post-card__image" src="/media/iaef1awn/twilio-icon.svg" width="250" height="250" alt="Twilio logo" decoding="async" loading="lazy"></picture>

## How to test SMS and Phone Call applications with the Twilio Dev Phone

6/15/2022 - Twilio

Learn how to use Twilio's brand-new open-source tool, the Twilio Dev Phone, to test your SMS and phone call applications!



](/blog/twilio/how-to-test-sms-and-phone-call-applications-with-the-twilio-dev-phone)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/abnf0p11/_brand_assets_images_logos_zapier-logomark.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover/media/abnf0p11/_brand_assets_images_logos_zapier-logomark.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover/media/abnf0p11/_brand_assets_images_logos_zapier-logomark.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover/media/abnf0p11/_brand_assets_images_logos_zapier-logomark.png 500w" sizes="250px" width="250" height="250" alt="Zapier logo" decoding="async" loading="lazy"></picture>

## Send Email and SMS from Google Forms using Zapier, SendGrid, and Twilio

5/18/2022 - Twilio

Learn how to forward Google Form data via Email and SMS using Zapier, SendGrid, and Twilio



](/blog/twilio/send-email-and-sms-from-google-forms-using-zapier-sendgrid-and-twilio)[

<picture><img class="blog-post-card__image" src="/media/hygn4t2f/twilio-icon.svg" width="250" height="250" alt="Twilio logo" decoding="async" loading="lazy"></picture>

## How to better configure C# and .NET applications for SendGrid

5/12/2022 - .NET

Learn how to configure your .NET applications better for sending SendGrid emails



](/blog/dotnet/how-to-better-configure-csharp-and-dotnet-applications-for-sendgrid)[

<picture><img class="blog-post-card__image" src="/media/sc2jqzpo/twilio-icon.svg" width="250" height="250" alt="Twilio logo" decoding="async" loading="lazy"></picture>

## How to better configure C# and .NET applications for Twilio

4/11/2022 - .NET

Learn how to use multiple configuration sources, strongly-typed objects, and implement the options pattern in your .NET applications



](/blog/dotnet/how-to-better-configure-csharp-and-dotnet-applications-for-twilio)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.9774396673856787x0.9247216931560068/media/nlup5klu/what-s-new-in-the-twilio-helper-library-for-asp-net-v5-73-0-march-2022.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.9774396673856787x0.9247216931560068/media/nlup5klu/what-s-new-in-the-twilio-helper-library-for-asp-net-v5-73-0-march-2022.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.9774396673856787x0.9247216931560068/media/nlup5klu/what-s-new-in-the-twilio-helper-library-for-asp-net-v5-73-0-march-2022.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.9774396673856787x0.9247216931560068/media/nlup5klu/what-s-new-in-the-twilio-helper-library-for-asp-net-v5-73-0-march-2022.png 500w" sizes="250px" width="250" height="250" alt=".NET Bot holding a phone and bag with the Twilio logo" decoding="async" loading="lazy"></picture>

## What's new in the Twilio helper library for ASP.NET (v5.73.0 - April 2022)

4/6/2022 - .NET

Learn about what's new and old with the Twilio helper library for ASP.NET in version 5.73.0



](/blog/dotnet/whats-new-in-the-twilio-helper-library-for-aspdotnet-april-2022)[

<picture><img class="blog-post-card__image" src="/media/rffnhcsk/twilio-icon.svg" width="250" height="250" alt="Twilio logo" decoding="async" loading="lazy"></picture>

## How to Send SMS without a Phone Number using C# .NET and an Alphanumeric Sender ID

4/5/2022 - .NET

You don't always need a phone number to send SMS! Learn how to send text messages using Alphanumeric Sender IDs.



](/blog/dotnet/send-sms-without-phone-number-using-csharp-dotnet-and-alphanumeric-sender-id)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/0y4b3pnt/sendgrid-logomark.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/0y4b3pnt/sendgrid-logomark.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5/media/0y4b3pnt/sendgrid-logomark.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5/media/0y4b3pnt/sendgrid-logomark.png 500w" sizes="250px" width="250" height="250" alt="Twilio SendGrid logo" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## How to send Email in C# .NET using SMTP and SendGrid

3/8/2022 - .NET

You can use the SendGrid APIs to send emails, but you can also use SMTP with SendGrid. Learn how to send emails using SMTP, SendGrid C# .NET



](/blog/dotnet/how-to-send-email-in-csharp-dotnet-using-smtp-and-sendgrid)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/cneohwf1/thumbnail.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/cneohwf1/thumbnail.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5/media/cneohwf1/thumbnail.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5/media/cneohwf1/thumbnail.png 500w" sizes="250px" width="250" height="250" alt="Twilio SendGrid logo and Azure Functions logo" decoding="async" loading="lazy" style="background-color:#f5f5f5"></picture>

## Send Emails using C# .NET with Azure Functions and SendGrid Bindings

3/2/2022 - .NET

Learn how to send emails from Azure Functions using C# .NET and the SendGrid Bindings



](/blog/dotnet/send-emails-using-csharp-dotnet-with-azure-functions-and-sendgrid-bindings)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/tfxb3k4r/ngrok-square.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/tfxb3k4r/ngrok-square.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5/media/tfxb3k4r/ngrok-square.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5/media/tfxb3k4r/ngrok-square.png 500w" sizes="250px" width="250" height="250" alt="ngrok logo" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## Integrate ngrok into ASP.NET Core startup and automatically update your webhook URLs

2/15/2022 - .NET

Learn to integrate ngrok into ASP.NET Core's startup process to create secure public tunnels and automatically handle Twilio's webhooks with a single command



](/blog/dotnet/integrate-ngrok-into-aspdotnet-core-startup-and-automatically-update-your-webhook-urls)[

<picture><img class="blog-post-card__image" src="/media/vgye2zpp/twilio-mark-red-e1886ea5f.svg" width="250" height="250" alt="Twilio logo" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## Send Scheduled SMS with C# .NET and Twilio Programmable Messaging

2/4/2022 - .NET

Learn how to schedule SMS with C# .NET and Twilio Messaging's latest feature: Scheduled Messaging!



](/blog/dotnet/send-scheduled-sms-with-csharp-dotnet-and-twilio-programmable-messaging)[

<picture><img class="blog-post-card__image" src="/media/ygnfku2u/cf-logo-v.svg" width="250" height="250" alt="Cloudflare logo" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## Develop webhooks locally using Cloudflared Tunnel

1/28/2022 - Web

Webhooks are a common way to integrate with external service, including Twilio! Learn how to develop webhooks locally using Cloudflare Tunnels!



](/blog/web/develop-webhooks-locally-using-cloudflared-tunnel)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/rmdaof2v/thumbnail.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/rmdaof2v/thumbnail.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5/media/rmdaof2v/thumbnail.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5/media/rmdaof2v/thumbnail.png 500w" sizes="250px" width="250" height="250" alt="Twilio Logo and Azure Functions logo" decoding="async" loading="lazy" style="background-color:#f3f3f5"></picture>

## How to send SMS with C# .NET and Azure Functions using Twilio Output Binding

1/24/2022 - Azure

Twilio posts cloud communications trends, customer stories, and tips for building scalable voice and SMS applications with Twilio's APIs.



](/blog/azure/how-to-send-sms-with-csharp-dotnet-and-azure-functions-using-twilio-output-binding)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/g3cl40tv/sendgrid-logomark.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/g3cl40tv/sendgrid-logomark.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5/media/g3cl40tv/sendgrid-logomark.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5/media/g3cl40tv/sendgrid-logomark.png 500w" sizes="250px" width="250" height="250" alt="Twilio SendGrid logo" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## How to send recurring emails in C# .NET using SendGrid and Quartz.NET

1/19/2022 - .NET

Learn how to send recurring emails with C# .NET using Quartz.NET and SendGrid's APIs



](/blog/dotnet/how-to-send-recurring-emails-in-csharp-dotnet-using-sendgrid-and-quartzdotnet)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/3hfbcxrc/sendgrid-logomark.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/3hfbcxrc/sendgrid-logomark.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5/media/3hfbcxrc/sendgrid-logomark.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5/media/3hfbcxrc/sendgrid-logomark.png 500w" sizes="250px" width="250" height="250" alt="Twilio SendGrid logo" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## Send Emails using the SendGrid API with .NET 6 and C#

12/13/2021 - .NET

Learn how to send emails using the SendGrid API with a .NET 6 console application and C#



](/blog/dotnet/send-emails-using-the-sendgrid-api-with-dotnet-6-and-csharp)

[Show All Posts](/blog/twilio/all#main-content)[Next Page](/blog/twilio/page/2#main-content)

[Next](/blog/twilio/page/2#main-content)
