.NET 9 and C# 13 release

.NET 9 has been released and this is how you update

.NET 9 has been released and this is how you update

Find out how you can update your ASP.NET Core application to .NET 9 from updating Visual Studio, downloading the SDK and finding out about breaking changes.
C# 13 - New features and how you can use them now!

C# 13 - New features and how you can use them now!

C# 13 has been launched as part of the .NET 9 release and we'll take a look at the new features and how you can start using them today.
What's new in .NET 9? Key features you need to know!

What's new in .NET 9? Key features you need to know!

Discover the latest updates in .NET 9. Explore new features, enhancements, and tools that you can use in your ASP.NET Core application right now!

.NET 9 has been released: How do you update?

Watch this video where we'll show you how to update to .NET 9. From updating Visual Studio to downloading the SDK and finally updating your project.

Latest articles and tutorials

What's new in .NET 9? Key features you need to know!

What's new in .NET 9? Key features you need to know!

Discover the latest updates in .NET 9. Explore new features, enhancements, and tools that you can use in your ASP.NET Core application right now!
C# 13 - New features and how you can use them now!

C# 13 - New features and how you can use them now!

C# 13 has been launched as part of the .NET 9 release and we'll take a look at the new features and how you can start using them today.
.NET 9 has been released and this is how you update

.NET 9 has been released and this is how you update

Find out how you can update your ASP.NET Core application to .NET 9 from updating Visual Studio, downloading the SDK and finding out about breaking changes.
Data Annotations vs FluentValidation: Which should you use?

Data Annotations vs FluentValidation: Which should you use?

Get started with Data Annotations and FluentValidation in ASP.NET Core with validation examples for your .NET project like required and email validation.

Try our C# online code editor

Convert hours, minutes and seconds into a time formatted string

Convert hours, minutes and seconds into a time formatted string

Pass in the hours, minutes and seconds into a method and get it to return a time formatted string which should include leading zeros.
Contains online code editor
Work out the number of days between two dates

Work out the number of days between two dates

Write a C# function to work out the difference between two dates and return the number of days in this coding challenge.
Contains online code editor
Removing the last character from a string

Removing the last character from a string

This coding challenge involves writing a C# method that will removing the last character from a string and returning the value.
Contains online code editor
Write a C# function to convert MPH to KPH

Write a C# function to convert MPH to KPH

Take our coding challenge to write a C# function with the necessary parameters that converts miles-per-hour (MPH) to kilometres-per-hour (KPH) and vice-versa.
Contains online code editor

Get started with EF Core - Free online course

Create a DbContext class in Entity Framework Core

Get started with EF Core as we set up an ASP.NET Core Web API project and create a DbContext and the SQL Server database it will connect to.

Entity Framework Core migrations: Add a migration

Learn how to add a migration to a DbContext using code first and update a SQL Server database with this EF Core tutorial.

Insert, update & delete a record in Entity Framework Core

This tutorial will add EF Core CRUD methods in ASP.NET Core Web API webpoints by inserting, updating and deleting from a DbContext.

Select rows using queries in Entity Framework Core

Learn how to create a EF Core query with LINQ that will select a single row and multiple rows of data with the option to add pagination.

Download .NET code examples

SignalR hub example sending chat messages in ASP.NET Core

SignalR hub example sending chat messages in ASP.NET Core

Download a .NET SignalR example which adds a hub that sends messages to clients when one is connected and when a method is invoked.
Geolocation & IP lookup example to find client's location

Geolocation & IP lookup example to find client's location

A Geolocation code example in ASP.NET Core which uses IP lookup to find the client's location so you know which country they are located.
Stripe .NET checkout example to add online payments

Stripe .NET checkout example to add online payments

Download an ASP.NET Core Stripe checkout example that uses the Stripe.net NuGet package to take online payments through a Web API endpoint.
TimeProvider example for mocking time and timer in xUnit

TimeProvider example for mocking time and timer in xUnit

A .NET 8 xUnit project which uses the TimeProvider and FakeTimeProvider class to mock time and a timer in unit tests.

Learn .NET with our online courses

ASP.NET Core in .NET 6: Dependency Injection

ASP.NET Core in .NET 6: Dependency Injection

Looking at dependency injection with C# examples for beginners. The course looks at what dependency injection is, the different service lifetimes, and some of the common errors.
Blazor WebAssembly: Building your first app

Blazor WebAssembly: Building your first app

Looking at how Blazor WebAssembly works and some of its benefits. Looking how it compares to Blazor Server and how Razor components work.
Blazor WebAssembly: Foundation skills

Blazor WebAssembly: Foundation skills

Focusing how to use configuration, authentication, API integration with HttpClient, logging, deployment in a Blazor WebAssembly app.
Advanced Blazor WebAssembly

Advanced Blazor WebAssembly

Advanced Blazor WebAssembly features, such as JavaScript interlop, SignalR, file uploads, state management and prerendering.