Build the future of communications.
Start Building for Free

asp.net core posts

  • By Niels Swimberghe
    Use Visual Studio Port Tunneling to handle Twilio Webhooks Use Visual Studio Port Tunneling to handle Twilio Webhooks

    Visual Studio recently introduced a new feature called port tunneling. By using port tunneling, Visual Studio will create a new public URL (tunnel URL) for you, and HTTP requests sent to the tunnel URL will be forwarded to your ASP.NET Core project running on localhost.

    Port tunneling has a lot of use cases. You could use this to easily test your web application on other devices like mobiles phone and tablets. You could also use this to make your application temporarily, publicly available for doing interactive demos and inviting your audience to participate.

    How to use port tunneling with Twilio

    The most exciting use case for Twilio is that you can use port tunneling to test webhooks. What are webhooks again?

    "Webhooks are user-defined HTTP callbacks. They are triggered by some event in a web application and can facilitate integrating different applications or third-party APIs, like Twilio." …

    Read More
  • By Similoluwa Adegoke
    Send Recurring Emails using C# .NET and Hangfire with SendGrid Send Recurring Emails using C# and Hangfire

    Sometimes you need to send out emails at a certain interval - monthly, weekly, daily, or even more frequent. To run jobs on a time interval, you can use operating system tools like cron jobs on Linux or the task scheduler on Windows. Alternatively, you can create your own long running application that schedules the jobs for you. However, developing a robust job scheduler is not an easy task. Luckily, there are some great libraries that take care of this for you like Hangfire.

    In this tutorial you will learn how to send recurring emails using Hangfire and the SendGrid Email API.

    Check out this article to learn how to send recurring emails using Quartz.NET, which is another scheduling system for .NET.

    Prerequisites

    You will need a few things to follow along:

    • A Twilio SendGrid Account. Sign up here to send up to 100 emails per day …
    Read More
  • By Similoluwa Adegoke
    How to build an Email Newsletter application using ASP.NET Core and SendGrid How to build an Email Newsletter using ASP.NET Core and SendGrid

    Sending out newsletters is a great way to keep your audience up-to-date on the latest news. There are existing newsletter products like SendGrid Email Marketing, however, in a scenario where the client demands more customization, building a newsletter app yourself using the SendGrid Email API is a great alternative.

    The advantage of building your own newsletter application is that you can control the nuts and bolts of the system and still maximize deliverability and measure engagement with SendGrid.

    In this tutorial, you will learn how to build a newsletter app using ASP.NET Core Razor Pages and SendGrid.

    Solution Overview

    Every newsletter application involves two parties: the subscriber of the newsletter, and the author of the newsletter.

    The subscriber's journey goes like this: The soon-to-be subscriber fills out a form to subscribe that includes their email address and other details (depending on your business needs). When the subscriber submits the …

    Read More
  • By Maarten Balliauw
    How to test ASP.NET Core Minimal APIs How to test  ASP.NET Core Minimal APIs

    How do you test that your ASP.NET Core Minimal API behaves as expected? Do you need to deploy your application? Can you write tests with frameworks like xUnit, NUnit, or MSTest?

    In this post, you will learn the basics of testing ASP.NET Core Minimal APIs. You’ll get started with testing a “hello world” endpoint, and then test a more complex API that returns JSON data. You’ll finish with customizing the ASP.NET Core service collection, so you can customize services for your unit tests and integration tests.

    By the end of this post, you will have a good understanding of how to make sure your ASP.NET Core Minimal APIs behave as expected and can be deployed to production, even on Fridays!

    Prerequisites

    Read More
  • By Néstor Campos
    Organize Incoming Email Attachments with C# and ASP.NET Core using Twilio SendGrid Inbound Parse Organize Incoming Email Attachments with C# and ASP.NET Core using Twilio SendGrid Inbound Parse

    At times, people in many organizations must organize and associate files (such as accounts, invoices, and more) with each employee or vendor in the company. Generally, these files arrive by email to a default mailbox that is constantly monitored, but manually. In this post, you are going to learn how to organize and associate files that users send by email to a particular mailbox through Twilio SendGrid with an API built in ASP.NET.

    Prerequisites

    To complete this tutorial, you will need a free Twilio SendGrid account and experience working with ASP.NET applications using the C# language. Sign up here to send up to 100 emails per day completely free of charge.

    Additionally, the API that you are going to create needs to be publicly exposed to be accessed from Twilio SendGrid, in this tutorial you will use ngrok to test your application without the need to deploy it in …

    Read More
  • By Luís Leão
    Creación de una app de chat de video programable de Twilio con Angular y. ASP.NET Core 3.0 Creación de una app de chat de video programable de Twilio con Angular y. ASP.NET Core 3.0

    La interacción con el usuario en tiempo real es una excelente manera de mejorar las capacidades de comunicación y colaboración de una aplicación web. El chat de video es una opción obvia para las ventas, la atención al cliente y los sitios educativos, pero ¿es práctico implementarlo? Si está desarrollando con Angular en el front-end y ASP.NET Core para su servidor, el video programable de Twilio le permite agregar de manera eficiente un sólido chat de video a su aplicación.

    En esta publicación, se mostrará cómo crear una aplicación de chat de video en funcionamiento mediante el SDK JavaScript de Twilio en su aplicación de una sola página Angular (SPA, por sus siglas en inglés) y el SDK de Twilio para C# y .NET en su código de servidor de ASP.NET Core. Creará las interacciones necesarias para crear y unirse a salas de chat de video, y para publicar y …

    Read More
  • By Luís Leão
    Crie um app de videoconferência com Twilio Programmable Video e as plataformas Angular e ASP.NET Core 3.0 Crie um app de videoconferência com Twilio Programmable Video e as plataformas Angular e ASP.NET Core 3.0

    A interação do usuário em tempo real é uma ótima maneira de aprimorar os recursos de comunicação e colaboração de um aplicativo da Web. O chat por vídeo é uma escolha óbvia para sites de vendas, suporte ao cliente e educação. Mas é prático de implementar? Se você estiver desenvolvendo com o Angular no front-end e o ASP.NET Core para o seu servidor, o Twilio Programmable Video permitirá que você adicione um chat por vídeo robusto ao seu aplicativo com eficácia.

    Este post mostra como criar um aplicativo de chat por vídeo em execução usando o SDK do JavaScript da Twilio no SPA (single page application, aplicativo de página única) do Angular e o SDK do C# e .NET da Twilio no código do servidor ASP.NET Core. Você desenvolverá as interações necessárias para criação e participação em salas de chat por vídeo e para publicação e inscrição em faixas de …

    Read More
  • By David Pine
    Créer un chat vidéo avec ASP.NET Core Blazor et Twilio Construire une application Web de chat vidéo avec ASP.NET Core Blazor et Twilio Programmable Video

    L'interaction utilisateur en temps réel est un excellent moyen d'améliorer les capacités de communication et de collaboration d'une application web. Le chat vidéo avec des collègues, des amis ou des membres de la famille est devenu la nouvelle norme, et est un choix évident pour les sites de vente, de support client et de formation. Pour les travailleurs à distance, le chat vidéo améliore l'efficacité de la collaboration d'équipe.

    Cependant, est-ce que l'implémentation du chat vidéo est pratique ?

    Si vous développez avec Blazor WebAssembly (WASM) sur le front-end et ASP.NET Core pour votre serveur, la réponse est : oui. Twilio Programmable Video et les helper librairies Twilio pour JavaScript et .NET vous permettent d'ajouter efficacement un chat vidéo robuste à votre application.

    Que vous construisiez des solutions dédiées à la télémédecine, à l'enseignement à distance ou à l'engagement des employés, Twilio est conforme au RGPD et à l'HIPAA. Grâce …

    Read More
  • By Niels Swimberghe
    How to make Phone Calls from Blazor WebAssembly with Twilio Voice blazor-twilio-voice (1).png

    Mobile phones are ubiquitous and convenient but there are times when it’s more practical to be able to receive and place phone calls from a computer. If you’ve called customer service about the tickets you ordered, or anything else, it’s likely the rep you spoke to took your call with a mouse click.

    Using Twilio Voice you can add the ability to make and receive phone calls from your own ASP.NET web applications. Twilio’s helper library for JavaScript makes it easy to integrate client functionality into web front ends built with Blazor WebAssembly, and the Twilio NuGet packages provide you with convenient interfaces to Twilio’s APIs for server-side tasks.

    Blazor WebAssembly lets you build your application front end in C# and Razor, so you can focus the client-side JavaScript on functionality that requires JavaScript for implementation.

    JavaScript interoperability (JS interop) is a feature of Blazor that makes it easy to …

    Read More
  • By Niels Swimberghe
    Building Real-Time Applications with Blazor Server and Firestore blazor-server-firestore.png

    Blazor is a framework for building interactive client-side user interfaces for web applications using .NET. Using Blazor, .NET developers can build stylish and performant web interfaces using C# and ASP.NET Core instead of JavaScript. [Pause for applause.]

    Blazor Server provides support for hosting Razor components on a server in an ASP.NET Core app. At runtime, the Blazor Server app sends UI events from the browser to the server and applies UI updates sent from the server to the rendered component.

    Blazor Server is built on SignalR, which is built on websockets. Among things, websockets enable Blazor Server to push changes from the server to the browser at any time. You can build real time UIs when you combine this with a real-time database such as Google Firestore.

    Firestore is Google Firebase's real-time database offering on the Google Cloud Platform (GCP). Google provides .NET libraries for interacting with …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.