filmov
tv
Keep ASP.NET Core controllers clean using the power of base controllers

Показать описание
I somehow have an obsession for clean controllers in #aspnetcore . That's one of the reason I am a strong advocate of MediatR and using granular handlers for each application action. Even so, we still end up having a lot of boilerplate code in our controllers, like private fields for IMediator, IMapper, ILogger and so on. In this video, we showcase a very powerful way to keep controllers clean using base controllers properly.
#dotnetcore
Table of contents:
1. Intro 00:00
2. App overview: 00:50
3. Problem statement: 03:32
4. A first unsuccessful try: 05:53
5. Moving non-generic services to base controller: 10:15
6. Moving generic services to base controller: 14:34
#dotnetcore
Table of contents:
1. Intro 00:00
2. App overview: 00:50
3. Problem statement: 03:32
4. A first unsuccessful try: 05:53
5. Moving non-generic services to base controller: 10:15
6. Moving generic services to base controller: 14:34
Keep ASP.NET Core controllers clean using the power of base controllers
ASP.NET Core Controllers – Keep them Clean with these 3 Tips
THIS Keeps Controllers Clean
Make Your ASP.NET Core API Controllers Incredibly Simple
3. How to keep Asp.Net Core startup classes clean
Cleaning Up This Controller
Enhance Your ASP.NET Core Controllers Without Repetition: A Custom Base Class Method
How I keep my Startup.cs clean in .NET Core with 1 liner
Clean ASP.NET Core - Dependencies
A Cleaner Way to Handle Form Parameters in ASP.NET Core MVC
Clean up your .NET Controllers with ApiEndpoints
One Quick Tip To Keep Your C# Collection Clean #shorts
.NET Tip: How to Organize Minimal API with MapGroup in .NET
Fix Your Controllers By Refactoring To Minimal APIs
C# : Why derive from ControllerBase vs Controller for ASP.NET Core Web API?
ASP.NET Core Hack – Use Controllers from Different Assemblies Easil
Controllers in ASP.NET Core MVC
Should You Use Controllers or Minimal APIs in .NET?
How to Refactor Similar Controllers in ASP.NET Core MVC?
On .NET Live - Commands, Queries, and Clean Architecture
Model Validation Done RIGHT
Create Controller in ASP.NET Core MVC | .NET Full Course
How to Extend GenericRepository for Use in Controllers with Best Practices
CQRS in ASP.NET Core - Episode 3 - Controller Setup
Комментарии