Popular .NET tutorials

Keyed services in .NET 8 finally sees a dependency injection update

Keyed services in .NET 8 finally sees a dependency injection update

.NET 8 brings keyed services, a dependency injection update for creating the same service with a different implementation in the IoC container.
Why is the ASP.NET Core FromBody not working or returning null?

Why is the ASP.NET Core FromBody not working or returning null?

How to use ASP.NET Core FromBody & FromQuery in an API. Why FromBody is returning null & how to fix a 415 unsupported media type error.
Four reasons why your ASP.NET Core application is not working in IIS

Four reasons why your ASP.NET Core application is not working in IIS

ASP.NET Core Application Not Working in IIS? We fix Interval Server Errors 500.19 & 500.21, plus 500.30 ANCM In-Process Start Failure
How to use the button onclick event in Blazor WebAssembly

How to use the button onclick event in Blazor WebAssembly

Learn the Blazor WebAssembly button onclick event. Use the Blazor Wasm parameter attribute to pass the event to another Razor component.

.NET coding challenges

Guess the SOLID principle from C# code

Guess the SOLID principle from C# code

Take our C# coding challenge where you have to guess the SOLID principle we are following from the code snippet.
Add services to dependency injection in .NET

Add services to dependency injection in .NET

Take on our .NET coding challenge to add dependency injection services and lifetimes to an ASP.NET Core app.
Add model binding in an ASP.NET Core Web API

Add model binding in an ASP.NET Core Web API

ASP.NET Core Web API model binding coding challenge to add the [FromHeader] attribute in an action.
ASP.NET Core dependency injection service lifetimes

ASP.NET Core dependency injection service lifetimes

Learn about ASP.NET Core dependency injection and their service lifetimes with our C# coding challenge.

Download .NET code examples

Keyed services for ASP.NET Core dependency injection example

Keyed services for ASP.NET Core dependency injection example

Download the code example for injecting keyed services with dependency injection with an ASP.NET Core web app.
Basic authentication in ASP.NET Core

Basic authentication in ASP.NET Core

Purchase a ASP.NET Core Basic authentication example allowing you to add the Authorization header to a HTTP request.
JWT authentication in ASP.NET Core

JWT authentication in ASP.NET Core

Download a ASP.NET Core JWT authentication example allowing you to generate a Bearer token to authenticate a HTTP request.
Azure DevOps pipeline example .NET project for CI/CD

Azure DevOps pipeline example .NET project for CI/CD

A .NET project for use in the CI/CD setup of a Azure DevOps pipeline. This demo can be used for a build and release pipeline.

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.

Popular YouTube videos

C# coding challenges to master your .NET technical job interview

Take on our C# coding challenges with these .NET interview questions and master your technical job interview.

Create an Azure DevOps build pipeline for ASP.NET Core

With an ASP.NET Core app in GitHub, learn how to create a YAML build pipeline in Azure DevOps which can be used for CI/CD.

Create an Azure DevOps release pipeline for ASP.NET Core

Creating an Azure DevOps release pipeline to deploy an ASP.NET Core Web API to IIS. We'll talk through the YAML code so you can use it for CI/CD.

Create a .NET Worker Service for a background service

We create a .NET Worker Service in Visual Studio to run background tasks through hosted services, and run it as a Windows Service.