Azure Web PubSub: Real-time WebSockets

SignalR is great, but sometimes you want raw WebSockets or support for other languages (Python, Java clients). **Azure Web PubSub** is a managed WebSocket service that supports native WebSocket clients and the…

Azure1 min read

TypeScript 4.3: Template String Types

TypeScript 4.3 turns the type system into a programming language itself. Template Literal Types You can now concatenate types! This is incredibly useful for typing strings that follow a specific pattern, like…

Webpack 5 vs Vite: The Bundler Wars

Webpack has dominated for years. But Vite (powered by esbuild) is 100x faster. Why Vite is Fast Webpack bundles your entire application before serving it. Vite serves source files over native ESM…

1 min read

Visual Studio 2022 Preview 1: 64-Bit is Real

It happened. Visual Studio is finally 64-bit. Use more than 4GB of RAM. Open massive solutions containing 1,600 projects. First Impressions It feels snappier. Finding files in huge repos is instant. The…

1 min read

.NET 6 Minimal APIs: First Look

.NET 6 introduces “Minimal APIs”, a stripped-down approach to building HTTP APIs without the ceremony of Controllers, Filters, or `Startup.cs`. Four Lines of Code Parameter Binding It infers binding from route, query,…

.NET1 min read

Building a GraphQL API with Hot Chocolate 11

Hot Chocolate is the premier GraphQL server for .NET. Version 11 brings “Zero Latency” execution engine improvements. Setup Projection The real power is in [UseProjection]. It translates nested GraphQL queries into optimized…

.NET1 min read

C# 10 Preview: Global Usings

C# 10 (coming with .NET 6) aims to reduce file clutter. **Global Usings** allow you to define namespace imports once for the entire project. Manual Creation Create a file `GlobalUsings.cs`: Implicit Usings…

Testing with LocalStack: AWS on your Laptop

If you build on AWS, you need **LocalStack**. It mocks almost every AWS service (S3, Lambda, DynamoDB, SQS) on your local machine via Docker, allowing for free, fast, and offline development. Docker…

AWS1 min read

Integration Testing with Testcontainers

Mocking the database in tests is a lie. In-memory databases (like EF Core InMemory) behave differently than SQL Server. **Testcontainers** allows you to spin up real, throwaway Docker containers for your integration…