- Home
- .NET code examples
.NET code examples


Minimal API code example for ASP.NET Core
Download an Minimal API code example that allows you to test routes, parameters, results, filters, authentication and unit testing.
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
Download a ASP.NET Core JWT authentication example allowing you to generate a Bearer token to authenticate a HTTP request.
Roulette wheel in Blazor WebAssembly
Create Roulette using Blazor WebAssembly. This .NET Blazor Wasm demo is built up with C# and Razor components.
Connect 4 game in Blazor WebAssembly
Create Connect 4 using Blazor WebAssembly. This .NET Blazor Wasm demo is built up with C# and Razor components.
Tic-Tac-Toe game in Blazor WebAssembly
Create Tic-Tac-Toe (Noughts & Crosses) using Blazor WebAssembly. This Blazor Wasm demo is built up with C# and Razor components.
Run an ASP.NET Core application in a Docker container
Download a code example which includes a Dockerfile to build and publish an ASP.NET Core Web API into a Docker container and run the application.
.NET 9 code example to download with its key new features
Download an ASP.NET Core application in .NET 9 and try out its key new features such as HybridCache, OpenAPI support and new LINQ methods.
C# 13 - Code examples that include all the new features
Download C# 13 code examples which includes all the new features so you can try them out for yourself and see what has changed from previous C# versions.
Watch .NET tutorials
Subscribe to our YouTube channel