Bald Bearded Builder
topics/aspnetcore

/aspnetcore

Minimal APIs, middleware, dependency injection, configuration, and the parts of the request pipeline that only bite you in production.

Videos filed under aspnetcore

Short

Fix Ambiguous Constructors in ASP.NET Dependency Injection!

Ambiguous ASP.NET Core dependency injection constructors can be resolved with an explicit constructor attribute, a factory, or keyed services.

0:542,872 views84 likes
Video

Dependency Injection Mistakes You Need to Avoid!

Five ASP.NET Core dependency injection failures cover missing registrations, circular dependencies, lifetime mismatches, ambiguous constructors, and scoped services used by background work.

7:578,483 views344 likes
Short

IExceptionHandler Makes ASP.NET Exceptions Easy

.NET 8's `IExceptionHandler` supports centralized ASP.NET exception handling through built-in middleware and modular handlers for specific exception types.

0:571,545 views79 likes
Video

Building Custom Middleware for ASP.NET Core

Queues, stacks, and dictionaries solve distinct C# collection problems involving fair ordering, last-in-first-out history, and fast typed lookups.

13:4112,228 views403 likes
Video

Handle ASP.NET Core Exceptions Globally

C# pattern matching can compare a boxed runtime value with a constant even when equality operators reject the incompatible static types.

9:3416,178 views602 likes
Short

Don't Make This Dependency Injection Mistake!

Injecting a shorter-lived service into a longer-lived one effectively extends the dependency's lifetime and creates invalid service designs.

1:493,713 views139 likes
Short

It's ALWAYS CORS!!!!

A live debugging attempt moves from successful compilation to a failed fetch before identifying CORS as the culprit.

0:24610 views17 likes
Video

Should my Services be Transient, Scoped, or Singleton?

.NET dependency injection lifetimes are explained through transient, scoped, and singleton services, including the risks of mutable singletons and injecting shorter-lived dependencies into longer-lived services.

3:4020,180 views771 likes
Video

MVC vs. Minimal API vs. FastEndpoints - Which is Best for Your Project?

ASP.NET controllers, minimal APIs, and FastEndpoints offer different tradeoffs in organization, dependency injection, documentation, syntax, and built-in features.

4:3925,261 views672 likes