Learn .NET with our online courses
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. Buy this course
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. Buy this course
Blazor WebAssembly: Foundation skills
Focusing how to use configuration, authentication, API integration with HttpClient, logging, deployment in a Blazor WebAssembly app. Buy this course.NET 10 and C# 14 release
.NET 10: What are the steps to update your project?
Learn how to upgrade your project to .NET 10 - update Visual Studio and projects, migrate Swagger to OpenAPI, and update your Dockerfile.
Are C# 14's new features worth updating your app to .NET 10?
Discover the new features in C# 14 - from extension members to the field keyword - and find out whether upgrading your app to .NET 10 is really worth it.
How LeftJoin and RightJoin Work in EF Core .NET 10
Learn how LeftJoin and RightJoin work in EF Core .NET 10, replacing complex GroupJoin patterns and simplifying left and right joins in LINQ.
Swagger's missing in .NET 10 - How to add it back
Swagger is missing in .NET 10. Learn why it was removed, how to add it back, and explore alternatives like Scalar, Redoc, Postman, and .http files.Latest articles and tutorials
PagedResults in EF Core: One class, endless reuse
Learn how to build a reusable PagedResults class in .NET that works with Entity Framework Core and supports multiple entity types.
EF Core without migrations - it's only a matter of time
Learn why EF Core without migrations is a disaster. Learn how to setup, configure, and deploy using migrations to keep databases consistent across environments.
We built an AI tool for .NET/C# developers in 2 days
We built an AI tool for .NET and C# developers in just 2 days using Claude's API. Here's how we did it, the prompts we used, and how you can try it now.
Refactoring an ASP.NET Core API with clean architecture
Learn how to refactor an ASP.NET Core API using clean architecture by separating validation, business logic, and database access into clear layers.Free .NET code examples
Reusable PagedResults type for Entity Framework Core
Download a code example that includes a reusable PagedResults type and query extension, ideal for pagination in Entity Framework Core.
Automated SQL scripts using Entity Framework Core migrations
Learn how to add Entity Framework Core migrations in an Web API and worker project and use it to automate SQL scripts across all environments.
Clean architecture in a Web API endpoint
Learn how to refactor a Web API endpoint using clean architecture with validation, services, repositories and cleaner code structure.