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 โ†’
Posted in Uncategorized

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 โ†’
Posted in Uncategorized