SStepOneinsteponeit.hashnode.dev·3d ago · 10 min readHow to Mock gRPC in .NET with WireMock.Net and ProtobufTL;DR WireMock.Net can mock gRPC, but its built-in mechanism requires .proto definitions at runtime and routes body matching through dynamically shaped JSON. That weakens compile-time checks and separ00
SStepOneinsteponeit.hashnode.dev·3d ago · 12 min readVisitor Pattern in C#: acyclic, type-safe, no downcasts, no runtime checks with Visitor.NETVisitor becomes painful when a design gains type checks, downcasts, and boilerplate faster than it gains useful behavior. Those costs are especially visible in compilers, static analyzers, and other s00
SStepOneinsteponeit.hashnode.dev·4d ago · 14 min readC# DIY Compiler with DDD and Clean ArchitectureCompiler projects are often presented as pipelines of algorithms: lexing, parsing, analysis, and code generation. Once the project grows, however, the harder problem is deciding which concepts own whi00
SStepOneinsteponeit.hashnode.dev·4d ago · 13 min readSystem.Text.Json Polymorphism with Swagger in .NET 7Polymorphic JSON is not finished when System.Text.Json can serialize a derived type. The same discriminator contract must survive OpenAPI generation, server validation, client generation, and every se00
SStepOneinsteponeit.hashnode.dev·Sep 12 · 7 min readJava vs. C#: Four Java Features C# Handles DifferentlyLanguage comparisons are most useful when they expose different design choices, not when they try to declare a winner. Java has several features that make certain modeling and one-off implementation t00