Authentication, DI, middleware, and service lifetimes — the essentials of ASP.NET Core development.
ASP.NET Core Fundamentals
Adding Authentication and Authorisation to ASP.NET Core Web Applications
Explore authentication & authorisation in ASP.NET Core web apps using Identity, Razor class libraries, scaffolding, and partial views.
Implementing dependency injection in ASP.NET Core
When a method creates its own dependencies, changing one class means changing every caller. ASP.NET Core's built-in DI container fixes this: here's how to refactor from tight coupling to constructor injection in three steps.
Service Lifetimes in ASP.NET Core
Explore Microsoft Dependency Injection container's 3 lifetimes: transient, singleton, scoped. Learn their behaviors & importance in app dependencies.
Understanding Middleware in ASP.NET Core
Every HTTP request in ASP.NET Core passes through a bi-directional middleware pipeline, and the order of components directly affects behaviour. Here's how the built-in pipeline works and how to write custom middleware.