← Back
Gerald Versluis April 30, 2021 11m

Dependency Injection with .NET Blazor

Summary

The transcript discusses dependency injection in Blazor, focusing on different service registration scopes like singleton, transient, and scoped in ASP.NET Core. The key demonstration involves showing how different service scopes impact state management across browser windows, with an example of a counter that behaves differently based on the injection method. The practical takeaway is understanding how to choose and implement the appropriate dependency injection scope for maintaining or resetting state in Blazor applications, with implications for session management and component behavior.

View original episode ↗