/blogs
Notes on code, tools and things I am learning
ArchitectureOct 2026
Why I build multi-tenant apps instead of copy-pasting projects
One codebase, many clients: what multi-tenancy really buys you.
Read more
When a second client asks for the same product, the lazy move is to copy the project. By client five you are fixing the same bug five times.
A multi-tenant app serves many customers from one codebase and one deployment. Each tenant gets its own domain or subdomain, branding, content and data boundaries.
The hard part is isolation: every query must be scoped to a tenant. Decide early how you resolve the tenant (domain, subdomain or path) and enforce it in one place, not in every controller.
DevOpsOct 2026
Docker for everyday developers: the 20% that matters
You do not need to master Kubernetes to benefit from containers.
Read more
Most of the value of Docker is a repeatable environment. If it runs in the container, it runs on your teammate's laptop and on the server.
Learn four things first: a Dockerfile, image versus container, volumes for data, and Docker Compose to start the app and its database together.
Keep images small, never bake secrets into them, and pin versions so a rebuild next month behaves like today's build.
APIsOct 2026
Swagger / OpenAPI is the best documentation habit you can build
Docs that live next to the code stay correct.
Read more
An OpenAPI spec describes every endpoint, request and response. Tools like Swagger UI turn it into a page where frontend and backend developers can test calls without a single message.
In ASP.NET Core the spec can be generated from your controllers, so documentation updates every time the code does.
Treat the spec as a contract: agree on it first, and frontend work can start before the backend is finished.
AIOct 2026
Using AI coding assistants without turning off your brain
Great for speed, dangerous for understanding.
Read more
AI assistants are excellent at boilerplate, refactors, explaining unfamiliar code and drafting tests. They are weaker at your real constraints and hidden business rules.
Read every line before it is committed. If you cannot explain a change, you do not own it yet.
Give small, specific tasks, run the build and tests after each one, and keep commits small so a bad suggestion is easy to undo.
WebOct 2026
Static vs server rendering in Next.js: pick on purpose
Why my portfolio went back to hardcoded, static content.
Read more
A static page is built once and served from a CDN. It is fast, cheap and has almost nothing to break.
Server features such as API routes that write files need a real server. On static-style hosting the filesystem is not persistent, so those saves silently disappear.
If content changes rarely, keeping it in code and redeploying is simpler than a CMS. When it changes weekly, add a real backend or a headless CMS.
ToolingOct 2026
Five Git habits that save teams from pain
Small branches, clear messages and no force-push on shared branches.
Read more
Branch for every change, commit small, and write messages that explain why, not just what.
Pull before you push, review your own diff before opening a merge request, and never force-push a shared branch.
Keep secrets out of the repository from day one. Once a key is in the history, rotate it.