Records are C# 9’s most impactful feature. They provide a concise syntax for creating immutable reference types with value-based equality. If you’ve ever written a DTO class with equals, hashcode, and toString – records are about to save you hours of boilerplate. The Problem Records Solve Before records, creating a proper immutable data class required […]
Read more โCategory: .NET
All .NET Related Stuffs goes here.
Blazor CSS Isolation: Scoped Styles in .NET 5
.NET 5 brings CSS isolation to Blazor, a feature developers have been requesting since Blazor’s inception. If you’ve used Vue’s scoped styles or Angular’s component styles, you’ll feel right at home. CSS isolation ensures that styles defined for a component only apply to that component – no more worrying about global CSS conflicts. How It […]
Read more โGraphQL with .NET: Hot Chocolate Library
Hot Chocolate is the most popular GraphQL library for .NET. Here’s a quick start. Setup Query Type References Hot Chocolate Docs
Read more โBlazor Component Libraries: Building Reusable UI
Razor Class Libraries (RCLs) allow you to share Blazor components across multiple apps. With .NET Core 3.1 and upcoming .NET 5, they now support including static assets (CSS, JS, images) inside the NuGet package. This guide builds a reusable “Modal” component library. Project Structure Create a new RCL project: Static Web Assets Place CSS in […]
Read more โ.NET 5 Preview: What’s Coming This November
.NET 5 unifies .NET Core and .NET Framework. Here’s what to expect when it releases in November. The Unification One .NET going forward C# 9 and F# 5 Single BCL across all platforms Top-level programs Records and init-only setters Performance Significant perf improvements in GC, JIT, and libraries. ARM64 support improved. References .NET 5 Preview
Read more โBuilding Your First Blazor WebAssembly App
Let’s build a complete Blazor WebAssembly application step by step – a task manager with CRUD operations. Project Structure A Simple Component References Blazor Tutorial
Read more โ