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 →Tag: .NET
Clean Architecture in .NET: Practical Implementation
Clean Architecture keeps your business logic independent of frameworks and databases. Here’s how I implement it in .NET projects. The Layers Domain: Entities, value objects, domain events Application: Use cases, interfaces, DTOs Infrastructure: Database, external services WebAPI: Controllers, middleware Project Structure Dependency Rule Dependencies point inward. Domain has no dependencies. Application depends on Domain. Infrastructure […]
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 →Entity Framework Core Migrations: Managing Schema Changes
EF Core migrations track database schema changes alongside your code. Here’s how to use them effectively. Basic Commands Migration File Best Practices Always review generated migrations Test Down() methods Use SQL scripts for production Consider data migrations separately References EF Core Migrations
Read more →