Dive into .NET 8 & C# 12 🚀, Streamlined Blazor Authentication 🔥, Introducing .NET Aspire 🌐


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!

🔐 Authentication with 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.

video preview

🌟 .NET 8 & C# 12

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.

🌐 Introducing .NET Aspire

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


Patrick God

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

Read more from Patrick God
video preview

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

video preview

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

video preview

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