ZZero Heartbeat·3h agoWhy the CLR accepts names C# forbidsRenaming is the cheapest obfuscation win: Billing.InvoiceService.Charge becomes a.b.c, and a decompiler no longer hands a reader your architecture. But a, b, c are still readable — an analyst skims th9 min read·delta1labs.hashnode.dev
ZZero Heartbeat·3d agoObfuscating an API without breaking its OpenAPI docHere is a deployment that passes CI, starts cleanly, serves every endpoint correctly — and returns HTTP 500 the first time anything hits /swagger/v1/swagger.json. You added an obfuscation step to prot9 min read·delta1labs.hashnode.dev
ZZero Heartbeat·4d agoObfuscating FluentValidation without garbling error namesHere is a bug that passes every unit test and ships to production looking fine. You protect your ASP.NET Core API with an obfuscator, the build is green, the validators still reject bad input exactly10 min read·delta1labs.hashnode.dev
ZZero Heartbeat·4d agoWhy obfuscation breaks YamlDotNet config filesMost teams ship their application logic as a compiled assembly and their configuration as a YAML file sitting next to it. The assembly is the IP you want to protect; the YAML is a plain-text file an o9 min read·delta1labs.hashnode.dev
ZZero Heartbeat·5d agoWhich SignalR names survive obfuscationA strongly-typed SignalR hub is the deceptive case. The loose-string style at least looks dangerous — Clients.All.SendAsync("ReceiveMessage", msg) has the magic string right there in the source, and i9 min read·delta1labs.hashnode.dev
ZZero Heartbeat·5d agoRename your models, keep the HTTP contractA customer reports that your "create order" form stopped working after the last release. No error, no 500 — the order just saves blank. You cannot reproduce it: on your machine the form binds perfectl11 min read·delta1labs.hashnode.dev
ZZero Heartbeat·6d agoKeeping MEF composition intact under obfuscationA MEF plugin host has a failure mode that never raises an exception. You obfuscate the solution, ship it, and the host starts up reporting zero plugins — not because a type failed to load, but because11 min read·delta1labs.hashnode.dev
ZZero Heartbeat·6d agoEF Core mapping that survives renamingEntity Framework Core is a mapping layer, and by default the thing it maps from is your names. Declare a class Invoice with a property Status and, with no configuration, EF concludes there is a table10 min read·delta1labs.hashnode.dev
ZZero Heartbeat·6d agoWhy LibraryImport survives obfuscationMigrating from [DllImport] to [LibraryImport] is sold as a performance story — ahead-of-time-friendly marshalling, no IL stub generated at runtime, trim-safe. There is a quieter consequence that matte8 min read·delta1labs.hashnode.dev
ZZero Heartbeat·Nov 27Obfuscating MongoDB POCOs without breaking BSONThe MongoDB C# driver feels schemaless, but it is not nameless. Every document the driver writes is a BSON map whose keys come from your POCO, and the driver decides those keys by reflecting over your8 min read·delta1labs.hashnode.dev