Stefan Đokić | .NET (@TheCodeMan__) header
Stefan Đokić | .NET (@TheCodeMan__) profile picture

➡️ Level Up with Everyday .NET Content | Microsoft MVP ➡️ YouTube: https://www.teapaw.org/t.co/9EgEGulWLN ➡️ https://www.teapaw.org/t.co/65gw5pGHO0 Newsletter | 20k+

Serbia
Joined February 2012
Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)Photo by Stefan Đokić | .NET (@TheCodeMan__)
This reality hits: deadlines, new team members, rushed PRs, “we’ll fix it later.” Most #dotnet projects don’t fall apart because of bad developers. They fall apart because nobody decided how things should look when things get messy. At the beginning: ✔ clean structure ✔ good intentions ✔ “we’ll keep it tidy” Then reality hits: • deadlines • new team members • rushed PRs • “we’ll fix it later” And suddenly the codebase starts fighting back. This carousel shows the full curriculum of Pragmatic .NET Code Rules. Not as a syllabus. But as a system. A system that: - removes pointless decisions - enforces consistency automatically - keeps projects clean even when teams grow I made this course for developers who: • are tired of style debates • want predictable projects • care about long-term sanity, not quick wins Already 50+ developers joined during pre-order. And yes, you get access immediately. And yes, you get access to the community. You don’t wait. You apply. You improve your project while the course grows. 40% OFF Preorder price: $59.89 (Only 4 spots left at the price and only today) Original price is $150. 👉 Get it now here: thecodeman.net/pragmatic-dot… Curious, what’s the one rule your current codebase is missing?
3
3
22
5,590
I'm a backend developer. Most of my side projects die at the same step: frontend, login, database, hosting. So I gave @base44 one sentence and let it build the whole app. Here's what happened (thread)
1
4
436
The part I liked most as a developer: the backend was already there. Base44 created the database tables, filled them with data and added sign-up and login. No connection strings. No auth setup. No hosting config.
1
1
96
Then one click on Publish, and the app was live on its own URL. Custom domain whenever you want one. You skip the boilerplate and get straight to the part you care about. What would you build? Try @base44 free: base44.com/
1
66
I asked Claude Code to fix a failing test. It deleted the test. Build: green. Pipeline: silent. The tax bug almost shipped. 3 rules that stop it:
12
12
635
1. In CLAUDE.md: "Never delete, skip or weaken a test to make it pass. Fix the code." 2. A hook that runs the tests after every agent edit and fails if the test count drops. 3. In every AI diff, read the test files first. A deleted assert is a red flag.
1
1
103
Stefan Đokić | .NET retweeted
Black Friday came early. Everything I sell is 40% off. Code BF26. Only 100 coupons. → AI for Developers (new course): $149.99 → $89.99 Use AI on a real codebase, then build AI into a real app. 24 lessons, one real project. The first lessons go live on Nov 27. → Pragmatic .NET Code Rules (with Bonus - AI edition): $149.99 → $89.99 Your build checks every line, whether a teammate or Claude Code wrote it. → Design Patterns that Deliver: $32.99 → $19.79 → Design Patterns Simplified: $9.95 → $5.97 The code is applied automatically when you click. Ends Dec 1, or sooner if the 100 coupons run out. Want everything? The AI for Developers community is $119/year and includes both courses: skool.com/ai-for-developers/… 1. AI course: thecodeman.net/ai-for-develo… 2. Code Rules: thecodeman.net/pragmatic-dot… 3. Design Patterns Written Course: thecodeman.net/design-patter… 4. Design Patterns ebook: thecodeman.net/design-patter…
1
4
370
Stefan Đokić | .NET retweeted
I restarted RabbitMQ for a few seconds. 100 orders saved. Only 51 emails sent. 49 events gone - and nobody would notice it in the logs. Fixed it with the Outbox pattern in .NET 10: one table, one BackgroundService, less than 100 lines of C#. Same crash test: 0 lost. Full video 👇 youtube.com/watch?v=3DPW2QJO… #dotnet #csharp
2
2
13
703
I restarted RabbitMQ for a few seconds. 100 orders saved. Only 51 emails sent. 49 events gone - and nobody would notice it in the logs. Fixed it with the Outbox pattern in .NET 10: one table, one BackgroundService, less than 100 lines of C#. Same crash test: 0 lost. Full video 👇 youtube.com/watch?v=3DPW2QJO… #dotnet #csharp
2
2
13
703
📌 Black Friday Deal 40% OFF: 1. Learn AI for Developers: skool.com/ai-for-developers/… 3. Pragmatic .NET Code Rules (+AI Bonus): thecodeman.net/pragmatic-dot… 2. Design Patterns Written Course 1: thecodeman.net/design-patter…
1
85
Black Friday came early. Everything I sell is 40% off. Code BF26. Only 100 coupons. → AI for Developers (new course): $149.99 → $89.99 Use AI on a real codebase, then build AI into a real app. 24 lessons, one real project. The first lessons go live on Nov 27. → Pragmatic .NET Code Rules (with Bonus - AI edition): $149.99 → $89.99 Your build checks every line, whether a teammate or Claude Code wrote it. → Design Patterns that Deliver: $32.99 → $19.79 → Design Patterns Simplified: $9.95 → $5.97 The code is applied automatically when you click. Ends Dec 1, or sooner if the 100 coupons run out. Want everything? The AI for Developers community is $119/year and includes both courses: skool.com/ai-for-developers/… 1. AI course: thecodeman.net/ai-for-develo… 2. Code Rules: thecodeman.net/pragmatic-dot… 3. Design Patterns Written Course: thecodeman.net/design-patter… 4. Design Patterns ebook: thecodeman.net/design-patter…
1
4
370
Stefan Đokić | .NET retweeted
Deploying is technical. Releasing is a business decision. Recreate: simple, downtime Rolling: no downtime, v1 and v2 side by side Blue-green: instant rollback, double infra Canary: 5% first, needs monitoring Feature flags: release without a deploy
1
7
25
1,111
Stefan Đokić | .NET retweeted
The worst way to start with AI coding: install all three tools. Three logins. Three subscriptions. The DM I get most lately: "I can code, but I've never used AI for it. Where do I start?" My 2-minute answer. Pick ONE tool. Stop at the first yes: 1. For code at work? Use what your company already approved. 2. Already pay for ChatGPT Plus? Codex. You have it today. 3. Already pay for Claude Pro? Claude Code. 4. Want to start free? GitHub Copilot Free. 5. Ready to pay ~$20/month and go deep? Claude Code. 6. Still not sure? Copilot Free. 5 minutes, $0. Then the first session. Same loop in every tool: - Commit first. Git is your undo button - Ask before you edit: "Explain this project. Don't change anything." - One small change: what, where, what not to touch, how you'll know it's done. - Review every line like a PR from a fast junior. - Run the tests yourself. "All tests pass" is not proof. - Commit. Repeat. That loop is 80% of using AI well. The tool matters less than the habits. I turned this into "AI from Zero" - 9 short lessons for developers who never used Copilot, Claude Code or Codex. Pick, install, first safe session, and the 12 mistakes almost everyone makes. It's inside my AI for Developers community. 7-day free trial: skool.com/ai-for-developers/… Which tool did you start with, and would you pick it again?
9
1
5
653
Stefan Đokić | .NET retweeted
Save this. Every free AI resource I've made for developers, in one place. I get the same DM almost every week: "Where do I start with AI as a developer?" Here's the whole list, updated with everything new. The examples are .NET, the ideas work in any stack. Start here: • Claude Code from Zero - free 28-page playbook: thecodeman.net/claude-code-f… • AI Roadmap 2026 (8 steps, MUST vs OPTIONAL): thecodeman.net/ai-roadmap-20… • AI Roadmap Course (free, written): thecodeman.net/ai-roadmap-co… • AI in .NET Starter Kit (semantic search, RAG, MCP): thecodeman.net/ai-in-dotnet-… Use AI to build faster: • Claude Code setup - CLAUDE. md, skills, agents: thecodeman.net/posts/claude-… • Claude Code cheat sheet - commands, hooks, MCP: thecodeman.net/claude-code-c… • .NET skills for coding agents (dotnet/skills): thecodeman.net/posts/dotnet-… • Refactor legacy code with Claude, test-first: thecodeman.net/posts/refacto… • AI agents for code review (security + N+1): thecodeman.net/posts/ai-agen… • AI drew my architecture on Miro (MCP): thecodeman.net/posts/ai-arch… • Claude Code hooks, headless mode and /rewind: thecodeman.net/posts/claude-… Build AI into your apps: • First AI call in C# with Microsoft.Extensions.AI: thecodeman.net/posts/getting… • AI agent in C# with Microsoft Agent Framework: thecodeman.net/posts/ai-agen… • Build an MCP server in C#, step by step: thecodeman.net/posts/build-a… • An MCP server that load-tests your API: thecodeman.net/posts/buildin… • Semantic search with embeddings: thecodeman.net/posts/semanti… • RAG with Ollama and pgvector: thecodeman.net/posts/how-to-… • Vector search without a vector database: thecodeman.net/posts/your-do… Want to go further than free? That's what AI for Developers is for - my community on Skool. Learn to use AI and build with it, from zero to advanced: • 50+ Claude Code skills and 10+ agents, ready to use • Courses, roadmaps and source code in the Classroom • Weekly AI news + what it actually means for us • Need a skill that doesn't exist yet? Ask, and we build it 7-day free trial: skool.com/ai-for-developers/… Every Monday I send one practical AI deep-dive to 22,000+ developers: thecodeman.net/ I'll keep adding to this list. What's missing that you'd want me to build next?
7
6
25
1,089
Stefan Đokić | .NET retweeted
A working MCP server in C# is about 10 lines: AddMcpServer() .WithStdioServerTransport() .WithToolsFromAssembly() + one static method with [McpServerTool] and a good [Description]. Just never log to stdout in a stdio server.
13
10
86
2,627
Save this. Every free AI resource I've made for developers, in one place. I get the same DM almost every week: "Where do I start with AI as a developer?" Here's the whole list, updated with everything new. The examples are .NET, the ideas work in any stack. Start here: • Claude Code from Zero - free 28-page playbook: thecodeman.net/claude-code-f… • AI Roadmap 2026 (8 steps, MUST vs OPTIONAL): thecodeman.net/ai-roadmap-20… • AI Roadmap Course (free, written): thecodeman.net/ai-roadmap-co… • AI in .NET Starter Kit (semantic search, RAG, MCP): thecodeman.net/ai-in-dotnet-… Use AI to build faster: • Claude Code setup - CLAUDE. md, skills, agents: thecodeman.net/posts/claude-… • Claude Code cheat sheet - commands, hooks, MCP: thecodeman.net/claude-code-c… • .NET skills for coding agents (dotnet/skills): thecodeman.net/posts/dotnet-… • Refactor legacy code with Claude, test-first: thecodeman.net/posts/refacto… • AI agents for code review (security + N+1): thecodeman.net/posts/ai-agen… • AI drew my architecture on Miro (MCP): thecodeman.net/posts/ai-arch… • Claude Code hooks, headless mode and /rewind: thecodeman.net/posts/claude-… Build AI into your apps: • First AI call in C# with Microsoft.Extensions.AI: thecodeman.net/posts/getting… • AI agent in C# with Microsoft Agent Framework: thecodeman.net/posts/ai-agen… • Build an MCP server in C#, step by step: thecodeman.net/posts/build-a… • An MCP server that load-tests your API: thecodeman.net/posts/buildin… • Semantic search with embeddings: thecodeman.net/posts/semanti… • RAG with Ollama and pgvector: thecodeman.net/posts/how-to-… • Vector search without a vector database: thecodeman.net/posts/your-do… Want to go further than free? That's what AI for Developers is for - my community on Skool. Learn to use AI and build with it, from zero to advanced: • 50+ Claude Code skills and 10+ agents, ready to use • Courses, roadmaps and source code in the Classroom • Weekly AI news + what it actually means for us • Need a skill that doesn't exist yet? Ask, and we build it 7-day free trial: skool.com/ai-for-developers/… Every Monday I send one practical AI deep-dive to 22,000+ developers: thecodeman.net/ I'll keep adding to this list. What's missing that you'd want me to build next?
7
6
25
1,089
Stefan Đokić | .NET retweeted
If you approve "dotnet test" in Claude Code 50 times a day, your settings.json is empty. allow: dotnet build, dotnet test * ask: git push * deny: Read(./.env) A deny rule isn't a polite request in a prompt. The agent simply can't.
4
1
16
1,639
Stefan Đokić | .NET retweeted
Okay. You went crazy. Yesterday I shared a free Claude Code playbook for beginners. See that spike on Wednesday? That's you. 500+ developers downloaded it so far. I honestly didn't expect that. But it tells me something: a lot of developers still haven't really started with AI coding. Not because they don't want to. Because nobody showed them a safe place to start. So if you missed it, here's what's inside: 28 pages, 8 lessons: 1. What Claude Code is, what it costs, what you need 2. Installing it - VS Code first, then the terminal 3. Your first safe session: save point, ask first, small change, review, commit 4. CLAUDE. md - the file that tells it how your project works 5. Plan mode - think first, code second 6. Permissions and undo 7. Context: /context, /compact, /clear + 10 beginner mistakes 8. What to learn next Still free. You get the PDF right away, then a short tip email every 2 days. Get it here: thecodeman.net/claude-code-f… If you already downloaded it, which lesson are you on?
1
2
417
A working MCP server in C# is about 10 lines: AddMcpServer() .WithStdioServerTransport() .WithToolsFromAssembly() + one static method with [McpServerTool] and a good [Description]. Just never log to stdout in a stdio server.
13
10
86
2,627
The full C# MCP server project and lessons are in AI for Developers (7-day free trial): skool.com/ai-for-dotnet-deve…
1
173