Processing a large batch of items in parallel is a classic problem. Durable Functions makes “Fan-out/Fan-in” trivial.
Read more โMonth: February 2021
Distributed Tracing with .NET 5 and Zipkin
In a microservices world, you need to follow a request as it hops from Service A to B to C. This is Distributed Tracing. W3C Trace Context .NET 5 uses standard W3C Trace Context headers (traceparent) by default. This makes it interoperable with other tracing systems. OpenTelemetry (Preview) With this code, every HTTP request entering […]
Read more โTypeScript 4.2: Tuples and Type Aliases
TypeScript 4.2 is out with some nice refinements. Leading/Middle Rest Elements You can now use spread syntax anywhere in a tuple, not just at the end. Smarter Type Alias Preservation TS is getting better at showing you your type alias names in error messages instead of expanding the entire object structure, making errors much more […]
Read more โAzure Bicep v0.3: It’s Getting Serious
Azure Bicep has reached v0.3, a major milestone. It is now supported by Microsoft Support for production use (feature complete parity with ARM templates). Loops and Conditions The tooling in VS Code is phenomenal. If you haven’t switched from ARM JSON yet, now is the time.
Read more โIntroduction to gRPC in .NET 5
REST has been king for a decade, but for internal microservices, gRPC is taking over. It’s binary, strictly contracted, and polyglot. Protobuf (.proto) You define your API in a language-neutral IDL: Implementation .NET generates the base classes for you automatically. Compared to JSON, gRPC messages are 60-80% smaller and serialization is significantly faster. If you […]
Read more โDocker Multi-Stage Builds: Smaller Images, Safer Ops
If you release containers that include your source code, build tools, or SDKs, you are doing it wrong. Multi-stage builds are the standard for creating lean, secure production images. The Pattern Result: Your final image only contains the compiled DLLs and the minimal ASP.NET Core runtime. No source code, no NuGet caches, no compiler. The […]
Read more โ