C# 8.0’s switch expressions are more concise than traditional switch statements. They use pattern matching and return values directly. Traditional vs Expression Pattern Matching Tuple Patterns References Switch Expression
Read more →Category: .NET
All .NET Related Stuffs goes here.
Ignite 2019: .NET Core 3.1 and the Road to .NET 5
At Ignite 2019, Microsoft clarified the .NET roadmap. Here’s what’s coming and why .NET 5 is a big deal. .NET Core 3.1 LTS .NET Core 3.1 will be an LTS release (December 2019). This means three years of support – perfect for production workloads. Key improvements: Blazor component improvements C# 8.0 refinements Performance enhancements Bug […]
Read more →gRPC in .NET Core 3.0: High-Performance RPC
gRPC is now a first-class citizen in .NET Core 3.0. It’s faster than REST for internal service communication. Here’s how to get started. Define the Service Implement the Service Client When to Use gRPC Service-to-service communication Streaming scenarios Performance-critical paths References gRPC in ASP.NET Core
Read more →C# 8.0 Features: Nullable Reference Types Explained
Nullable reference types are the biggest C# 8.0 feature. They help eliminate null reference exceptions at compile time. Here’s how they work. Enabling Nullable The New Syntax Null Forgiving Operator Benefits Compiler warnings for potential null dereferences Documentation of intent in method signatures Catches bugs before runtime References Nullable Reference Types
Read more →What’s New in .NET Core 3.0: Complete Overview
.NET Core 3.0 is finally here, and it’s the biggest release yet. Desktop support, C# 8.0, performance improvements—let’s break it down. Major Features Windows Desktop: WPF and WinForms now run on .NET Core C# 8.0: Nullable reference types, async streams, pattern matching gRPC: First-class support for high-performance RPC Blazor Server: C# in the browser (server-side) […]
Read more →Getting Started with .NET Core 2.2: What’s New
It’s been a few weeks since Microsoft released .NET Core 2.2, and I’ve finally had the chance to dig into what’s new. If you’re still on 2.1 (which is LTS, so fair enough), here’s what you’re missing and whether it’s worth upgrading. The Headline Features .NET Core 2.2 isn’t a massive release, but it brings […]
Read more →