We'll show you how to use dependency injection to inject services into controllers, minimal APIs, Razor views and middleware in an ASP.NET Core application.
Learn the difference between singleton, scoped and transient service lifetimes in ASP.NET Core dependency injection, with examples of when to use each one.
Learn how to create a ValueConverter in Entity Framework Core to save dates as UTC in the database & convert them back to your local time zone in ASP.NET Core.
Learn how to Dockerize an ASP.NET Core Web API by writing a Dockerfile to restore, build and publish your .NET application to a Docker container.
Static asset delivery optimisation in .NET 9 uses Brotli and Gzip compression for static asset files which can reduce the file size by over 80%.
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 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.
Learn what partial classes are in C#, when to use them, the rules you need to follow, and real-world examples of splitting a class across multiple files.
ASP.NET Core's feature management allows you to toggle feature flags on and off by specifying them in appsettings and writing filters.
Learn how to add a SignalR hub to an ASP.NET Core app, connect from JavaScript, and send and receive real-time messages between client and server.