Hey Reader, I've been coding for almost 30 years and getting paid for it for 20. But guess what? I just recently explored Vertical Slice Architecture, and wow... it might just change the way you build .NET apps forever! In my latest YouTube video, I break down three different ways to structure a .NET Web API: ✅ Traditional Layered Approach - Simple, but can get messy fast. I’ll show you real code examples for each approach and explain key concepts like coupling and cohesion - all in a way that’s easy to understand. And the best part? You can download all the source code from the video description!
If you’ve ever felt frustrated with complex architectures or bloated codebases, Vertical Slice Architecture might be the perfect solution. Check it out, and let me know what you think in the comments! Looking forward to hearing your thoughts! Take care, Patrick PS: Whenever you're ready to level up your .NET and Blazor skills, I can help you with the .NET Web Academy. Check it out here: dotnetwebacademy.com |
Become a .NET & Blazor expert with weekly tutorials featuring best practices and the latest improvements, right in your inbox.
Hey Reader, You may have seen the recent blog post from Jimmy Bogard (creator of MediatR and AutoMapper) announcing that these libraries are going commercial. And to be clear, I fully support that. Time is money, and supporting your family always comes first. BUT… In most of my projects, I don’t actually use everything MediatR offers. I usually just need a small part of it, the classic "send a request, get a response" pattern. So I thought: why not build a simple version myself? 👉 That’s...
Hey Reader, In my last video, I showed you how to build a CRUD app using Vertical Slice Architecture and controllers in .NET 9. But… What if you could do the same thing - cleaner, simpler, and without all that controller clutter? 👉 That’s exactly what I show you in my brand-new video: In this one, you’ll learn how to: Use Minimal APIs instead of controllers Keep your Program.cs neat and tidy Stay fully organized with the Vertical Slice Architecture Work with Carter, a super helpful library...
Hey Reader, If you’ve ever built a simple CRUD app with a layered architecture… you might be making things harder than they need to be. In my newest YouTube tutorial, I show you how to build a scalable CRUD app using something super clean and refreshing: 👉 Vertical Slice Architecture in .NET 9 We’ll build a full Video Game API, step-by-step, with: .NET 9 Web API + Entity Framework Core Code-first migrations Controllers (yep, still using those!) The Mediator pattern for cleaner code And, of...