C# Tutorials Blog

Follow these free tutorials to learn C# basics and more advanced topics, including ASP.NET Core web development and Xamarin mobile development. Each tutorial includes code snippets and examples.

First C# Chatbot with Microsoft Bot Framework

In this tutorial, you will create your first C# chatbot app using .NET Core and the the Microsoft Bot Framework. Getting Started Before you can begin developing bots in Visual Studio, you must first download and install the BotBuilder templates from the Visual Studio Marketplace. After you run BotBuilderVSIXV4.vsix, you will be able to create … Read more

xUnit Unit Test Razor Pages

Test-driven development is a valuable development process, and unit testing is an important part of the process. In this tutorial, you will learn how to write unit tests for a Razor Pages project using the xUnit testing library. Setting up the Web App Start by creating a new solution with a Razor Pages web application … Read more

Xamarin Blazor Mobile Button Event Handlers

Using the Blazor programming model to handle button events, like OnClick, makes writing Xamarin mobile applications with form inputs a breeze. Getting Started In the previous tutorial, you learned how to create some of the more common mobile app layout designs. In this tutorial, we will bind the values of some Entry components and do … Read more

Mobile Blazor Common App Layouts

In this tutorial, we will explore different layouts you can use when designing native mobile apps using Blazor and some tricks for how you can customize them to get just the look and feel your customers need. ContentPage Layout ContentPage is the default page layout when you create a new mobile Blazor bindings project from … Read more

Getting Started with Mobile Blazor Bindings

This is the first in a tutorial series about developing native Android and iOS apps using Xamarin and Blazor. This lesson will help you set up your development environment. Install Required Workloads First, make sure you have the required workloads installed. Fire up Visual Studio Installer and click Modify next to the instance of Visual … Read more

Blazor Upload File to Azure Blob Storage

This tutorial will build off a previous tutorial where you learned how to implement drag-and-drop file uploads using Blazor. We will be learning how to use BlazorInputFile to upload a file to an Azure storage blob. Getting Started If you haven’t already set up a blob storage container in your Azure portal, do that first. … Read more

Looking for more?

You have visited our site before, and we appreciate you!

If you found the tutorials helpful, enter your email address for more free C# tips and tricks.

Can't get enough C#?

Enter your email address for more free C# tutorials and tips.