Hey Reader, This week, I've put together tutorials on two interesting features in .NET 9 and C# that you might find really useful. Let's dive right in! 🔢 3 New LINQ Methods in .NET 9Ready to level up your data querying skills? In this video, I'll cover the new LINQ methods introduced in .NET 9: CountBy, AggregateBy, and Index. These additions make it easier to work with data, letting you perform complex queries more simply and efficiently. We'll go through practical examples to show how these methods can streamline your code and make your applications run smoother. If you're keen on keeping up with the latest in .NET, you won't want to miss this! ⚙️ Mastering Type Conversions in C#Check out this video where I break down the static implicit and static explicit operators in C#. Knowing how to use these operators can really help with type conversions in your projects, making your code neater and easier to manage. You'll see how to add these operators to your classes for automatic and manual type conversions, which can lead to cleaner and more efficient code. This guide is perfect for enhancing your programming skills with some useful, advanced techniques. If you have any questions or need more details on anything, just hit reply to this email. I'm here to provide more tutorials and answer any queries you might have. Thanks so much to our community and my Patrons for your support. You help keep this channel growing. Stay safe! Take care & happy coding, Patrick |
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...