Hey Reader,
This week is monumental in the .NET world! We're celebrating the arrival of .NET 8, the revelation-rich .NET Conf, and the introduction of Microsoft's .NET Aspire, designed for crafting cloud-native applications. Plus, I've got a new video showcasing authentication using Identity & Blazor in .NET 8!
.NET 8 brings a game-changer for Blazor authentication. Now, when you set up a new Blazor Web App in Visual Studio, you can opt for Individual Accounts. This selection equips you with the Identity Framework and razor components for crucial functionalities like user registration and login. The cherry on top? It supports all rendering modes thanks to SSR - static server-side rendering. There's much to learn from this code, so make sure to watch my latest video for insights.
The launch of .NET 8, a long-term support release, is a big deal for us developers. It comes loaded with features for enhanced performance, stability, and security. The .NET Conf 2023 spotlighted its ability to uplift cloud-native and high-traffic app development. Expect cross-platform compatibility, improved observability, resilience, and much more. Performance-wise, it's a powerhouse, as evidenced by significant benchmarks improvements.
Blazor also gets its share of upgrades, enhancing load times, scalability, and user experience. The integration of Blazor Server and WebAssembly is particularly exciting, allowing smooth server-client transitions. Moreover, the new Jiterpreter-based runtime and added components elevate Blazor's capabilities in web development.
There's more: .NET MAUI and C# 12 are here with their own set of enhancements. While .NET MAUI broadens its compatibility with the latest iOS and Android versions, C# 12 brings language features that are more concise and expressive.
For a comprehensive rundown of ASP.NET Core and Blazor updates, check out this blog post.
..NET Aspire, debuting in this .NET release, is a framework tailored for building cloud-native apps. It's packed with integrated telemetry, resilience, configuration, and health checks. Additionally, .NET 8 steps up its game in containerization, offering more secure and efficient packaging.
If you're into microservices, for instance, .NET Aspire is worth exploring. Find more details in the official blog post.β
π What about you? Are you making the switch to .NET 8? I'm eager to hear your thoughts and experiences.
A huge thank you to our community and a special nod to my Patrons for their invaluable support. It's what keeps this newsletter and my YouTube channel thriving.
Looking forward to our next coding adventure. Stay safe, and enjoy your coding journey! π»
Take care,
Patrick
Become a .NET & Blazor expert with weekly tutorials featuring best practices and the latest improvements, right in your inbox.
Hey Reader, After 15 years of building web apps, I just recently discovered Vertical Slice Architecture. I know. Iβm late to the party. But wow, this approach really changed how I think about structuring Blazor projects. So I decided to show you a simple, real-world example of how to use Vertical Slice Architecture in a Blazor Server app. π₯ Watch the full tutorial now: In this new tutorial, you'll learn: β How to structure your app with feature folders β How to avoid overcomplicating things...
Hey Reader, In my last videos, we built a solid CRUD API using Vertical Slice Architecture, Minimal APIs, and Carter - super clean and modern. But thereβs still one problem... π What happens when a user sends empty or invalid data? In this new YouTube tutorial, Iβll show you how to fix that with: And yep, the full source code is free to download. Just check the link in the video description. If youβve been enjoying this Vertical Slice series, this is a must-watch. Itβs a simple upgrade that...
Hey Reader, If you're building apps with Blazor, you've probably asked yourself this: π Should I use SSR, Blazor Server, or WebAssembly? Itβs a common question - and I get it a lot. So I made a brand-new YouTube video walking you through how to choose the best one for your app. π₯ Watch it here: If you're building a Blazor app or planning to do so soon, this should help clear up a lot of confusion. Let me know what you think, and feel free to reply if you have any questions. Take care, Patrick...