Tested C# and .NET tutorials by Rajni Kavathiya. Every code sample in the updated posts is compiled and run, with the real output, the exact error messages and the versions it was tested on.
Tutorials by topic
C#
Language features from C# 12 to C# 15, LINQ, async, generics, patterns, testing with xUnit and Moq, and fast code.
ASP.NET Core
Building and running APIs on .NET 10: versioning, error handling, auth, health checks, rate limiting and deployment.
AI in .NET
Calling LLMs from C#, RAG and agents with Semantic Kernel, local models, ML.NET and TorchSharp.
Cloud
Azure, AWS and Google Cloud from C#: storage, messaging, serverless, infrastructure as code and security.
Recently updated and retested
- Upgrading to .NET 11: 9 Breaking Changes and Fixes Oct 24
- C# 15 Union Types: Examples, Exhaustive Switch and Gotchas Oct 22
- Angular AuthGuard: Functional Route Guards with Examples Oct 21
- Angular 404 on Page Refresh After Deployment: 5 Server Fixes Oct 20
- Google Cloud Pub/Sub with C#: .NET 10 Tutorial and Gotchas Oct 19
- Moq in C# Tutorial: Setup, Verify and Common Errors Oct 19
- IExceptionHandler in ASP.NET Core: Global Error Handling Oct 18
- Repository Pattern in C# with EF Core: Examples and Pitfalls Oct 18
- C# Generics Tutorial (.NET 10): Constraints and Errors Oct 17
- Blazor WebAssembly Tutorial for .NET 10: Build a C# App Oct 17
- C# 14 and C# 13 New Features: Examples and Breaking Changes Oct 14
- C# Source Generators on .NET 10: Tutorial and Common Errors Oct 12
- C# Interface vs Abstract Class: When to Use Each on .NET 10 Oct 12
- C# LINQ Examples on .NET 10: LeftJoin, CountBy and Pitfalls Oct 12
- Enforce HTTPS in ASP.NET Core: Redirects, HSTS and Proxies Oct 12
- C# Nullable Reference Types: Fix CS8618, CS8602 and More Oct 10
- C# Primary Constructors: IDE0290, Pitfalls and Examples Oct 9
- System.Text.Json vs Newtonsoft: .NET 10 Migration Gotchas Oct 8
- HttpClient in .NET 10: IHttpClientFactory, Timeouts, Retries Oct 8
- Compile C# at Runtime in .NET: CSharpCodeProvider to Roslyn Oct 5
- CSharpier vs dotnet format: C# Code Formatting on .NET 10 Oct 5
- gRPC in .NET 10: Service, Client, Streaming and Gotchas Oct 4
- API Versioning in ASP.NET Core: Asp.Versioning on .NET 10 Oct 4
- Azure AI Document Intelligence C# Tutorial (SDK 1.0 GA) Oct 2
- CQRS with MediatR in ASP.NET Core: A Working Example Oct 1
- ASP.NET Core Rate Limiting: 4 Algorithms Compared on .NET 10 Oct 1
- ASP.NET Core Health Checks on .NET 10: Setup and Gotchas Oct 1
- Repository and Unit of Work Pattern in C# with EF Core Sep 29
- .NET Microservices Architecture with ASP.NET Core (.NET 10) Sep 29
- Angular Date Pipe: Formats, Time Zones and Locales Sep 28
- Hangfire vs Quartz.NET vs BackgroundService in .NET 10 Sep 27
- Best AI Code Generation Tools for C# Developers in 2026 Sep 27
Latest posts
- Upgrading to .NET 11: 9 Breaking Changes and Fixes
- C# 15 Union Types: Examples, Exhaustive Switch and Gotchas
- Moq in C# Tutorial: Setup, Verify and Common Errors
- IExceptionHandler in ASP.NET Core: Global Error Handling
- System.Text.Json vs Newtonsoft: .NET 10 Migration Gotchas
- HttpClient in .NET 10: IHttpClientFactory, Timeouts, Retries