profile

Patrick God

Become a .NET & Blazor expert with weekly tutorials featuring best practices and the latest improvements, right in your inbox.

Featured Post

How to use Multiple Layouts in Blazor in .NET 8 πŸ”₯

Hey Reader, I hope you're doing fantastic! I have an exciting new tutorial to enhance your Blazor skills in .NET 8. Let's get started! How to use Multiple Layouts in Blazor in .NET 8 πŸ”₯ In this tutorial, I'll show you how to implement multiple layouts in your Blazor applications using .NET 8. You'll learn how to create and switch between different layouts, making your applications more dynamic and versatile. If you have any questions or need more details, just hit reply to this email. I'm here...

Hey Reader, I hope you're doing well. I'm thrilled to share an exciting new tutorial to supercharge your .NET 9 applications. Let’s dive in! πŸš€ .NET 9 brings us the HybridCache - the fastest cache ever? In this tutorial, I'll guide you through the implementation and benefits of the new HybridCache in .NET 9. You’ll see detailed benchmarks comparing its performance with other caching strategies, and learn how to integrate it into your applications for blazing fast data retrieval. If you have...

Hey Reader, I hope you're doing well. I'm excited to share a new tutorial that will help you enhance your Blazor and .NET 8 applications. Let's get into it! πŸ” Authorization using Roles with Blazor & Identity in .NET 8 In this tutorial, I'll walk you through the process of setting up role-based authorization in your Blazor applications using ASP.NET Identity in .NET 8. You'll learn how to create and manage roles and control access to different parts of your application based on these roles. If...

Hey Reader, Today, we're going to dive into CQRS (Command and Query Responsibility Segregation) and the Mediator pattern using a .NET Web API. We'll keep things simple by not using clean architecture for this example. If you're interested in CQRS and the Mediator pattern, this tutorial is for you. You can either watch the video tutorial on YouTube or keep scrolling if you prefer reading. Let's get started! YouTube Video Tutorial Check out the video below for the full tutorial. What is CQRS?...

Hey Reader, I've got two exciting new tutorials for you in .NET 8 that will take your skills to the next level. Let's jump right in! πŸ“‚ File Uploads with Blazor SSR in .NET 8 Want to enhance your web applications with file upload capabilities? In this video, I'll walk you through the process of implementing file uploads using Blazor SSR (static server-side rendering). We'll explore both the EditForm component and the classic HTML form approach to give you a comprehensive understanding. πŸ”...

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 9 Ready 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...

Hey Reader, This week, I'm diving into a couple of topics that have been popping up frequently in your questions. I hope you'll find the insights below helpful! πŸ› οΈCascading Dropdowns Did you know there's no built-in component in Blazor for dropdowns that update based on another dropdown's selection? No worries - I’ve got you covered! Check out the video below where I show you how to build your own. The key is to use the standard HTML select element instead of Blazor’s InputSelect. Then,...

Hey Reader, Let's dive into some Blazor pitfalls this week that you should definitely watch out for. 🚨 Beware of Looping Errors! Ever used a loop alongside a lambda expression in your markup? Granted, this isn't exclusive to Blazor but a C# quirk to be mindful of. If you're using incremented variables within these lambda expressions, the results might surprise you. The following video sheds some light on this. πŸ› οΈ Using Forms with Blazor SSR One of the highlights of Blazor Static Server-Side...

Hey Reader, I've got two exciting videos for you today. The first one addresses a significant issue in Blazor in .NET 8 that could potentially mess up your project if you're unaware of how to fix it. The second video dives into the world of entities and demonstrates how to transfer them via an API, for example. 🚨 It's a Trap! Exploring Blazor's new render modes and noticing odd behavior like flickering or data loading twice? Then the following video is tailor-made for you. πŸ› οΈ Entities and How...

Hey Reader, This week, we're taking a closer look at some common errors in the .NET and Entity Framework areas, and let me tell you, these mistakes aren't exclusive to beginners! 🎯 .NET Oopsies In this video, we're going to talk about a few errors that can easily slip through the cracks when you're working with Blazor or creating a .NET Web API. It's easy to overlook these, but being aware can save you a ton of time and headaches. πŸ› οΈ EF Core Code-First Migration Are you navigating the waters...