Blazor CSS Isolation: Scoped Styles in .NET 5
A preview feature for .NET 5 (arriving Nov 2020) is CSS Isolation. Similar to Vue’s `scoped` styles or React Modules, this prevents style leakage between components. How it Works Create a file…
All .NET Related Stuffs goes here.
A preview feature for .NET 5 (arriving Nov 2020) is CSS Isolation. Similar to Vue’s `scoped` styles or React Modules, this prevents style leakage between components. How it Works Create a file…
Hot Chocolate is the premier GraphQL server for .NET. Unlike Rest APIs, GraphQL allows clients to ask for exactly what they need, solving over-fetching. Hot Chocolate 11 brings massive performance improvements and…
TypeScript 4.0 is here. Major features include variadic tuples, class property inference, and short-circuit assignment. Short-Circuit Assignment Unknown on Catch References TS 4.0 Release
TypeScript 4.0 is a major milestone. The headline feature is Variadic Tuple Types, which finally allows strong typing for high-order functions like `concat` or `curry`. We explore this and Labeled Tuple Elements.…
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…
Operators extend Kubernetes with custom domain logic. While usually written in Go, the .NET ecosystem has matured with the `KubeOps` SDK. We can now write C# operators to manage custom resources like…
.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…
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
May 2020 marks the long-awaited General Availability of Blazor WebAssembly. This release allows C# developers to build Single Page Applications (SPAs) that run entirely in the browser using standard web technologies—no plugins…
EF Core 3.1 finally addresses the major criticism of previous versions: the implicit client-side evaluation of LINQ queries. In versions 1.x and 2.x, if EF couldn’t translate a C# expression to SQL,…
TypeScript 3.8 brings one of the most awaited features from the ECMAScript Proposal stage 3: Hash-names for private fields. Unlike the private keyword in TypeScript which is erased at compile time, hard…
GitHub Actions has rapidly matured since its 2019 launch. For .NET developers, it offers a distinct advantage over Azure DevOps: the workflow lives right next to the code, and the marketplace for…
Blazor WebAssembly represents Microsoft’s bold vision for web development: write client-side applications in C# instead of JavaScript, running directly in the browser via WebAssembly. In early 2020, with the preview maturing rapidly,…
The “Billion Dollar Mistake”—null content—has plagued C# developers since version 1.0. NullReferenceException is the most common runtime error. C# 8.0 introduces Nullable Reference Types (NRT), a feature that moves null checking from…
.NET Core 3.1 is the most significant Long Term Support (LTS) release for the platform to date. For enterprise teams still running on .NET Framework 4.8 or older .NET Core 2.x versions,…
2019 was a big year for developers. Here’s my summary of the most important releases and trends. .NET .NET Core 3.0 brought desktop support C# 8.0 with nullable reference types Entity Framework…
SignalR makes real-time web communication easy. Notifications, chat, live dashboards—all with minimal code. Server Hub Startup Configuration JavaScript Client References SignalR Documentation
TypeScript makes React development safer. Here’s how to type your components properly. Function Components useState with Types Event Handlers References React TypeScript Cheatsheet
Polly provides resilience patterns for .NET – retry, circuit breaker, timeout, fallback. Essential for microservices. Installation Retry Policy Circuit Breaker With HttpClientFactory References Polly GitHub
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
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…
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…
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…
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…