Blog - ASP.NET

Swimburger

How to build a URL Shortener with C# .NET and Redis

- .NET
Learn how to build a link shortener using C#, .NET, and Redis. You'll be using ASP.NET Core to build the URL forwarder and the System.CommandLine libraries to manage the data.

Use XML Literals in Visual Basic .NET to generate TwiML

- .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.
Use Raw String Literals to generate TwiML in C# 11

Use Raw String Literals to generate TwiML in C# 11

- .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.

Use Visual Studio dev tunnels to handle Twilio Webhooks

- .NET
Learn how to develop webhooks on your local machine using Visual Studio dev tunnels and ASP.NET Core.
Conversation between an iPhone user and the SMS bot. The user says "Hi" and the bot responds with "Welcome to the U.S. Representative lookup bot. Respond with your address. The user sends an address and the bot responds with "Your representative is Gerald E. Connolly (Democratic Party) representing Virginia"s 11th congressional district. Then the bot sends an image of the representative.

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

- .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.
.NET Bot holding a browser URL bar and a toolbox

How to get the full public URL of ASP.NET Core

- .NET
Learn how to get the public full URL of your ASP.NET Core application
.NET Bot holding a browser URL bar and a toolbox

How to generate absolute URLs in ASP.NET Core

- .NET
Learn how to generate full absolute URLs in C# and ASP.NET Core web applications.
.NET Bot holding a phone and bag with the Twilio logo

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

- .NET
Learn about what's new and old with the Twilio helper library for ASP.NET in version 5.73.0
How to prevent Email HTML injection in C# and .NET

How to prevent email HTML injection in C# and .NET

- .NET
Learn how bad actors can inject HTML into your emails in your C# .NET applications and how to mitigate it.
Twilio SendGrid logo

How to send ASP.NET Core Identity emails with Twilio SendGrid

- .NET
Learn how to use SendGrid to send account verification and password recovery emails in ASP.NET Core
ngrok logo

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

- .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
Umbraco logo

Integrate IndexNow with Umbraco CMS to submit content to search engines

- Umbraco
Umbraco is very extensible for ASP.NET developers. Learn how to integrate IndexNow into the Umbraco backoffice, so you can easily submit Umbraco content URLs to search engines that they will (re)crawl.
.NET Bot

How to get ASP.NET Core's local server URLs

- .NET
Learn how to access the ASP.NET Core's local server URLs in Program.cs, in controllers using Dependency Injection, and in IHostedService or BackgroundService.
Umbraco logo and Docker logo

How to run Umbraco 9 as a Linux Docker container

- Umbraco
Umbraco 9 has been built on top of .NET 5. As a result, you can now containerize your Umbraco 9 websites in Linux containers. Learn how to containerize Umbraco 9 with Docker.
Umbraco, Azure, and Linux logo

Deploying Umbraco 9 to Azure App Service for Linux

- Umbraco
Learn how to create the Azure infrastructure using the Azure CLI to host an Umbraco 9 website using Azure SQL and Azure App Service for Linux, and how to deploy your Umbraco 9 site.
Twilio logo

Handle No-Answer Scenarios with Voicemail and Callback

- .NET
With Twilio Programmable Voice you can ask customers to leave a message and their phone number if there's nobody available to take the call so you can give them a callback later
.NET Bot on a scooter riding from Umbraco 8 to 9

Thoughts and tips on moving to Umbraco 9 from Umbraco 8

- Umbraco
.NET Core was a groundbreaking change to the .NET platform. It is blazing fast, open-source, and cross-platform across Windows, Linux, and macOS. With Umbraco 9, we finally get to enjoy all the new innovations from .NET Core. Read about my experience upgrading an Umbraco 8 website to Umbraco 9.
Blazor logo

Get Your Head Together With Blazor’s New HeadContent and PageTitle

- .NET
Let’s take a look at the three Blazor components .NET 6 is introducing to help you manage the head of your document—PageTitle, HeadContent, and HeadOutlet.
Picture of Niels—white male with long blond hair— with a shocked expression

Guest on .NET Docs Show: Making Phone Calls 📞 from Blazor WebAssembly with Twilio Voice

- .NET
Earlier this week, the folks at the .NET Docs Show invited me over to talk about Twilio, .NET, and Blazor WebAssembly. We discussed different architectures, workflow diagrams, Twilio capabilities, and how to integrate them using ASP.NET WebAPI's and Blazor WebAssembly.
.NET Bot surfing a wave

How to bypass Captchas in Selenium UI tests

- .NET
Captchas are often used as a way to combat spam on website forms. Unfortunately, this also makes it harder to verify the functionality of the forms using UI tests like Selenium. To work around this you can extend your website with a bypass form.