.NET 6 Blazor introduces “, allowing you to render a component whose type is selected at runtime. No more massive switch statements in render trees. Usage Use Cases Plugin systems where component types are registered dynamically. Dashboard builders with user-selectable widgets. Key Takeaways Combine with `System.Reflection` to load components by name. Parameters must be passed […]
Read more →Month: November 2021
Azure Container Apps is GA
Azure Container Apps (ACA) is now Generally Available. It provides serverless containers without managing Kubernetes, with built-in KEDA scaling and Dapr integration. When to Use ACA vs AKS Feature ACA AKS Control Plane Management Fully Managed Self Managed Scale to Zero ✅ Yes Requires KEDA Custom CRDs ❌ No ✅ Yes Key Takeaways Use ACA […]
Read more →Top 5 Features of Entity Framework Core 6
EF Core 6 ships with .NET 6 and brings several performance and usability improvements. Here are the highlights. 1. Compiled Models Pre-compile your model to avoid expensive startup reflection. 2. Temporal Tables (SQL Server) 3. Pre-Convention Model Configuration Apply conventions like “all strings max 256” globally. 4. Migration Bundles Package migrations as executables for CI/CD. […]
Read more →C# 10: Validating Arguments with CallerArgumentExpression
Writing guard clauses like `ArgumentNullException.ThrowIfNull(value)` is great, but error messages often lack context. CallerArgumentExpression captures the expression text at compile time. Example Key Takeaways Zero runtime overhead—it’s a compile-time feature. Use in custom assertion libraries or fluent validation.
Read more →Visual Studio 2022 GA: 64-bit Era Begins
Alongside .NET 6, Visual Studio 2022 is now GA. It is the first 64-bit version of the IDE. I tested it by opening a solution with 100 projects. In VS 2019, this would cause “Out of Memory” crashes or massive lag. In VS 2022, it used 5GB of RAM and stayed buttery smooth. IntelliCode also […]
Read more →Visual Studio 2022 GA: 64-bit
VS 2022 is finally 64-bit. We can open 10GB solutions.
Read more →