If I restarted my career today, I'd read these 7 books first.
13+ years in .NET taught me one thing about books:
The order matters as much as the books themselves.
Here's my order ๐
1. ๐ง๐ต๐ฒ ๐ฃ๐ฟ๐ฎ๐ด๐บ๐ฎ๐๐ถ๐ฐ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ฒ๐ฟ (Andy Hunt, Dave Thomas)
โณ Read it in your first year.
โณ Small habits that make people trust your code.
2. ๐ฅ๐ฒ๐ณ๐ฎ๐ฐ๐๐ผ๐ฟ๐ถ๐ป๐ด (Martin Fowler)
โณ How to change code in small, safe steps.
โณ You'll use this skill every day, on every project.
3. ๐๐ฒ๐ฎ๐ฑ ๐๐ถ๐ฟ๐๐ ๐๐ฒ๐๐ถ๐ด๐ป ๐ฃ๐ฎ๐๐๐ฒ๐ฟ๐ป๐ (Eric Freeman, Elisabeth Robson)
โณ Patterns explained with pictures and stories you remember.
โณ After Refactoring, you see why each pattern exists.
4. ๐๐ฒ๐๐ถ๐ด๐ป๐ถ๐ป๐ด ๐๐ฎ๐๐ฎ-๐๐ป๐๐ฒ๐ป๐๐ถ๐๐ฒ ๐๐ฝ๐ฝ๐น๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป๐ (Martin Kleppmann)
โณ How databases, replication and queues really work.
โณ You stop guessing why a system is slow.
5. ๐ฆ๐๐๐๐ฒ๐บ ๐๐ฒ๐๐ถ๐ด๐ป ๐๐ป๐๐ฒ๐ฟ๐๐ถ๐ฒ๐, ๐ฉ๐ผ๐น. ๐ญ (Alex Xu)
โณ A 4-step way to design any system.
โณ Worth reading regardless if you plan to go to interviews.
6. ๐๐๐ถ๐น๐ฑ๐ถ๐ป๐ด ๐๐๐ผ๐น๐๐๐ถ๐ผ๐ป๐ฎ๐ฟ๐ ๐๐ฟ๐ฐ๐ต๐ถ๐๐ฒ๐ฐ๐๐๐ฟ๐ฒ๐ (Neal Ford, Rebecca Parsons, Patrick Kua)
โณ Requirements change every month. This book shows how to design for it.
โณ Fitness functions: automated checks that protect your architecture.
7. ๐๐ฒ๐ฎ๐ฑ ๐๐ถ๐ฟ๐๐ ๐ฆ๐ผ๐ณ๐๐๐ฎ๐ฟ๐ฒ ๐๐ฟ๐ฐ๐ต๐ถ๐๐ฒ๐ฐ๐๐๐ฟ๐ฒ (Raju Gandhi, Mark Richards, Neal Ford)
โณ The friendliest step from senior developer to architect.
โณ Styles, trade-offs, and how to explain your decisions.
๐ ๐ช๐ต๐ ๐๐ต๐ถ๐ ๐ผ๐ฟ๐ฑ๐ฒ๐ฟ ๐๐ผ๐ฟ๐ธ๐:
โ Books 1 to 3 make you a developer people want on their team.
โ Books 4 and 5 show you how real systems behave.
โ Books 6 and 7 teach you how to make decisions.
You can read all of them in a year. And it will change your career hugely.
Which book would you add as #8?
I'd learn them in the same order. In my projects, I combine the first two: Vertical Slices for organizing features, with Clean Architecture boundaries to keep the domain free from EF Core and other infrastructure.
For most new projects, I start with a Modular Monolith. It gives clear module boundaries from day one, and I only extract a module into a service when it needs to scale or deploy on its own.
I'd also add Domain-Driven Design basics next to step 3. Bounded contexts are what tell you where to draw the module boundaries in the first place.
Also, Native AOT starts much faster and uses less memory, since there is no JIT work at startup. This makes it great for serverless functions, CLI tools, and containers that scale often. Or just apps that don't require having the .NET runtime installed and don't want to be a self-contained app with hundreds of DLLs.
Despite Native AOT being compiled into machine code, the long-running APIs, JIT can reach higher peak speed. Dynamic PGO optimizes your hot methods based on how the app really runs, and Native AOT can't do that.
And of course, Native AOT apps have limitations, such as runtime code generation, reflection and others.
P.S.: great visual
Your developers should also possess the following skills:
1) Communication: explaining a technical problem to a manager or client in plain words
2) Ownership: taking a task from vague idea to production without someone pushing you
3) Business understanding: knowing why a feature matters and who pays for it
4) Estimation: giving realistic timelines and flagging risks early
5) Saying no: pushing back on scope or deadlines with clear reasons
6) Writing: clear docs, PR descriptions, and design proposals
For me, the biggest one is trade-off thinking. A senior developer can explain why they chose one option and what they gave up for it.
Most .NET developers I know still write code in Visual Studio.
And most of them run their AI agent in a separate terminal next to it.
I see this setup in almost every team I talk to.
Every task turns into a hand-off between 2-3 windows:
โ The agent edits files on disk, and Visual Studio asks you to reload them
โ It renames a type by editing 20 files one by one, while a refactoring would do it in one step
โ You review the diff in another app, without your code inspections
โ Each agent comes with its own app, so trying a different one means a new setup
The agent was working outside the IDE.
So all the tools in Visual Studio sat unused.
Here's the setup I tested last week:
๐ฆ๐๐ฒ๐ฝ ๐ญ: ๐๐ฒ๐ฒ๐ฝ ๐ฉ๐ถ๐๐๐ฎ๐น ๐ฆ๐๐๐ฑ๐ถ๐ผ ๐ฎ๐ ๐๐ต๐ฒ ๐ต๐ผ๐บ๐ฒ ๐ฏ๐ฎ๐๐ฒ
Your solution, debugger and test runner are already there.
The agent should work in the same place.
๐ฆ๐๐ฒ๐ฝ ๐ฎ: ๐ฃ๐ถ๐ฐ๐ธ ๐๐ต๐ฒ ๐ฎ๐ด๐ฒ๐ป๐ ๐ถ๐ป ๐ฅ๐ฒ๐ฆ๐ต๐ฎ๐ฟ๐ฝ๐ฒ๐ฟ ๐ฎ๐ฌ๐ฎ๐ฒ.๐ฏ
ReSharper 2026.3 shipped on November 10.
In the AI Assistant tool window, you choose Junie, Claude Agent or Codex.
ReSharper connects them through the Agent Client Protocol (ACP) and handles the setup.
The first time you pick Claude Agent or Codex, it asks for your consent and installs it.
You can pick a different agent for each task, so you're never locked into one vendor.
ACP support is still in the works, and the list of agents is going to grow.
๐ฆ๐๐ฒ๐ฝ ๐ฏ: ๐๐ฒ๐ ๐๐ต๐ฒ ๐ฎ๐ด๐ฒ๐ป๐ ๐๐๐ฒ ๐ฅ๐ฒ๐ฆ๐ต๐ฎ๐ฟ๐ฝ๐ฒ๐ฟ ๐ฟ๐ฒ๐ณ๐ฎ๐ฐ๐๐ผ๐ฟ๐ถ๐ป๐ด๐
My project was a modular monolith that needed a new module.
โณ Claude Agent explained how the Orders module calls Billing
โณ Codex moved the shared contracts into a new namespace
โณ Then it ran dotnet test from the same window
This is the part I liked most.
Codex used ReSharper's Move refactoring.
Every using and reference got updated in one step.
Agents can run Rename and other ReSharper refactorings the same way.
Fewer hand edits means a smaller diff to review.
๐ฆ๐๐ฒ๐ฝ ๐ฐ: ๐ฅ๐ฒ๐๐ถ๐ฒ๐ ๐๐ต๐ฒ ๐ฟ๐ฒ๐๐๐น๐ ๐๐ถ๐๐ต ๐ฅ๐ฒ๐ฆ๐ต๐ฎ๐ฟ๐ฝ๐ฒ๐ฟ
The changes land in your solution with inspections on.
You check them, run the tests and decide what stays.
๐ Try the agents in ReSharper 2026.3 here: https://t.co/GaRqqyeNtz
Junie Lite is free and needs only your JetBrains account. Other agents only support JetBrains AI subscriptions for now.
โโ
Many thanks to @jetbrains for sponsoring this post #ad
10 reasons .NET is better than PHP
PHP still runs a huge part of the web.
But for a new backend in 2026, I'd pick .NET.
I've built .NET apps for 13+ years.
Here's an honest list from both sides:
10 reasons .NET is better than PHP
1. Your app stays in memory
โณ Classic PHP boots your app on every request. ASP .NET Core starts once and keeps running.
2. Faster web apps
โณ ASP .NET Core ranks near the top of the TechEmpower benchmarks, far above Laravel and Symfony.
3. Types checked at build time
โณ The C# compiler catches type errors before you run anything. PHP checks types at runtime, so you add PHPStan or Psalm.
4. Real generics
โณ List<Order> is a real type in C#. PHP has no generics, only docblock comments for static analyzers.
5. async/await built in
โณ No extra extensions. In PHP, you reach for Swoole, ReactPHP or Fibers with a library.
6. Background work in the same app
โณ A BackgroundService runs next to your API. In PHP, you run separate queue workers under Supervisor.
7. Real multi-threading
โณ Tasks, Parallel and Channels in the box. A PHP request runs on one thread.
8. Typed queries with LINQ
โณ EF Core checks your queries at compile time. Eloquent and Doctrine use strings for many column names.
9. Safe refactoring
โณ Rename a property and the IDE updates every usage. Magic methods and string keys in PHP make that risky.
10. One language for every app
โณ Web, desktop, mobile, cloud, AI and games with Unity. All in C#.
---
๐ 5 reasons PHP is better than .NET
1. Cheap hosting everywhere
โณ Almost any shared host runs PHP for a few dollars a month.
2. The WordPress world
โณ WordPress, WooCommerce and Drupal power a big part of the web. Plugins and themes for everything.
3. Fastest start for simple sites
โณ Save a file, refresh the page. No build step.
4. Laravel's developer experience
โณ Auth, queues, mail and admin panels out of the box, with one CLI.
5. Many web developers know it
โณ Lots of freelancers and agencies, easy to find help for a small project.
๐ PHP started in 1995 as a set of tools for personal home pages.
.NET came in 2002 and went open-source and cross-platform with .NET Core in 2016.
PHP got scalar type hints in PHP 7 (2015) and a JIT in PHP 8 (2020).
โ PHP owns content sites and cheap hosting
โ .NET has the stronger type system and runtime for complex backends
Pick PHP when you build a WordPress site, a simple CRUD app, or your team already lives in Laravel.
Pick .NET when your backend has complex business logic, heavy traffic or long-running work.
Which would you pick for your next backend: .NET or PHP?
โโ
โ Follow me to improve your .NET and Architecture Skills
@milan_milanovic Also, another point: backend technologies live much longer than frontend ones; it's always been this way. Frontend languages actually live for long too: JavaScript, TypeScript. But frontend frameworks die faster.
That's because it's easier to change frontend to something else.
@mjovanovictech What if you keep your own machine safe and without production keys (all that stuff?) So you can reach production only from a limited environment that the agents don't have access to?
๐ You don't read my newsletter.
But 28,000+ developers at Microsoft, Google, Amazon, Datadog, Redis and MongoDB - read it once per week.
๐ Go from .NET developer to architect, in 10 minutes a week. Join for free: https://t.co/1UhIcE90Ba
10 reasons .NET is better than PHP
PHP still runs a huge part of the web.
But for a new backend in 2026, I'd pick .NET.
I've built .NET apps for 13+ years.
Here's an honest list from both sides:
10 reasons .NET is better than PHP
1. Your app stays in memory
โณ Classic PHP boots your app on every request. ASP .NET Core starts once and keeps running.
2. Faster web apps
โณ ASP .NET Core ranks near the top of the TechEmpower benchmarks, far above Laravel and Symfony.
3. Types checked at build time
โณ The C# compiler catches type errors before you run anything. PHP checks types at runtime, so you add PHPStan or Psalm.
4. Real generics
โณ List<Order> is a real type in C#. PHP has no generics, only docblock comments for static analyzers.
5. async/await built in
โณ No extra extensions. In PHP, you reach for Swoole, ReactPHP or Fibers with a library.
6. Background work in the same app
โณ A BackgroundService runs next to your API. In PHP, you run separate queue workers under Supervisor.
7. Real multi-threading
โณ Tasks, Parallel and Channels in the box. A PHP request runs on one thread.
8. Typed queries with LINQ
โณ EF Core checks your queries at compile time. Eloquent and Doctrine use strings for many column names.
9. Safe refactoring
โณ Rename a property and the IDE updates every usage. Magic methods and string keys in PHP make that risky.
10. One language for every app
โณ Web, desktop, mobile, cloud, AI and games with Unity. All in C#.
---
๐ 5 reasons PHP is better than .NET
1. Cheap hosting everywhere
โณ Almost any shared host runs PHP for a few dollars a month.
2. The WordPress world
โณ WordPress, WooCommerce and Drupal power a big part of the web. Plugins and themes for everything.
3. Fastest start for simple sites
โณ Save a file, refresh the page. No build step.
4. Laravel's developer experience
โณ Auth, queues, mail and admin panels out of the box, with one CLI.
5. Many web developers know it
โณ Lots of freelancers and agencies, easy to find help for a small project.
๐ PHP started in 1995 as a set of tools for personal home pages.
.NET came in 2002 and went open-source and cross-platform with .NET Core in 2016.
PHP got scalar type hints in PHP 7 (2015) and a JIT in PHP 8 (2020).
โ PHP owns content sites and cheap hosting
โ .NET has the stronger type system and runtime for complex backends
Pick PHP when you build a WordPress site, a simple CRUD app, or your team already lives in Laravel.
Pick .NET when your backend has complex business logic, heavy traffic or long-running work.
Which would you pick for your next backend: .NET or PHP?
โโ
โ Follow me to improve your .NET and Architecture Skills
Your 10-day plan to pass a senior .NET interview in 2027.
Skip any of these 5 stages, and the offer goes to someone else.
Here is what each stage really tests ๐
๐ญ. ๐๐ถ๐ป๐ฑ ๐๐ผ๐๐ฟ ๐ด๐ฎ๐ฝ๐ (Day 1)
โณ Mid-level, senior and lead interviews measure different things
โณ A 5-minute self-audit shows where to spend your time
โณ Skip it, and you re-read docs hoping the right topics come up
๐ฎ. ๐๐ป๐๐๐ฒ๐ฟ ๐๐ต๐ฒ ๐๐ฒ๐ฐ๐ต๐ป๐ถ๐ฐ๐ฎ๐น ๐ฟ๐ผ๐๐ป๐ฑ๐ (Days 2-6)
โณ C#, async and memory, ASP .NET Core, EF Core, security
โณ You must explain how the runtime, pipeline and ORM work inside
โณ Async, threading and memory are where seniors get separated
๐ฏ. ๐ฃ๐ฎ๐๐ ๐๐๐๐๐ฒ๐บ ๐ฑ๐ฒ๐๐ถ๐ด๐ป (Day 7)
โณ This is where many strong coders freeze
โณ A 5-step framework takes you from the first question to the final design
โณ Interviewers care about your trade-offs more than a "perfect" answer
๐ฐ. ๐๐ฒ๐ ๐ถ๐ป๐๐ถ๐๐ฒ๐ฑ (Days 8-9)
โณ No invite, no interview
โณ A portfolio project and an active GitHub show real work
โณ A clear LinkedIn profile brings recruiters to you
๐ฑ. ๐ช๐ถ๐ป ๐๐ต๐ฒ ๐ฟ๐ผ๐ผ๐บ (Day 10)
โณ Practice your answers out loud before the real call
โณ Prepare 4 stories in STAR form (Situation, Task, Action, Result)
โณ Ask good questions back and have your salary number ready
๐ Many developers prepare only for stage 2.
The offer depends on all 5.
I turned this plan into a free 10-day email course: ๐ฃ๐ฎ๐๐ .๐ก๐๐ง ๐๐ป๐๐ฒ๐ฟ๐๐ถ๐ฒ๐๐.
1 short lesson a day (5-10 minutes) + a task to finish the same day.
๐ Start it here for free:
โณ https://t.co/RCAufgZWP7
Which interview stage is the hardest for you?
๐ One thing I learned from interviewing .NET developers myself:
I keep seeing strong engineers fail for the same reason. They never saw the full list of what they are measured on.
You learn what your current job needs. Then a senior interview asks about deadlocks, query performance or system design, things you never had a reason to touch.
The list of topics isn't endless. It's a known map, and this 10-day plan walks you through it one day at a time.
๐ Get one lesson a day in your inbox, for free: https://t.co/sGboxvat6J
Your 10-day plan to pass a senior .NET interview in 2027.
Skip any of these 5 stages, and the offer goes to someone else.
Here is what each stage really tests ๐
๐ญ. ๐๐ถ๐ป๐ฑ ๐๐ผ๐๐ฟ ๐ด๐ฎ๐ฝ๐ (Day 1)
โณ Mid-level, senior and lead interviews measure different things
โณ A 5-minute self-audit shows where to spend your time
โณ Skip it, and you re-read docs hoping the right topics come up
๐ฎ. ๐๐ป๐๐๐ฒ๐ฟ ๐๐ต๐ฒ ๐๐ฒ๐ฐ๐ต๐ป๐ถ๐ฐ๐ฎ๐น ๐ฟ๐ผ๐๐ป๐ฑ๐ (Days 2-6)
โณ C#, async and memory, ASP .NET Core, EF Core, security
โณ You must explain how the runtime, pipeline and ORM work inside
โณ Async, threading and memory are where seniors get separated
๐ฏ. ๐ฃ๐ฎ๐๐ ๐๐๐๐๐ฒ๐บ ๐ฑ๐ฒ๐๐ถ๐ด๐ป (Day 7)
โณ This is where many strong coders freeze
โณ A 5-step framework takes you from the first question to the final design
โณ Interviewers care about your trade-offs more than a "perfect" answer
๐ฐ. ๐๐ฒ๐ ๐ถ๐ป๐๐ถ๐๐ฒ๐ฑ (Days 8-9)
โณ No invite, no interview
โณ A portfolio project and an active GitHub show real work
โณ A clear LinkedIn profile brings recruiters to you
๐ฑ. ๐ช๐ถ๐ป ๐๐ต๐ฒ ๐ฟ๐ผ๐ผ๐บ (Day 10)
โณ Practice your answers out loud before the real call
โณ Prepare 4 stories in STAR form (Situation, Task, Action, Result)
โณ Ask good questions back and have your salary number ready
๐ Many developers prepare only for stage 2.
The offer depends on all 5.
I turned this plan into a free 10-day email course: ๐ฃ๐ฎ๐๐ .๐ก๐๐ง ๐๐ป๐๐ฒ๐ฟ๐๐ถ๐ฒ๐๐.
1 short lesson a day (5-10 minutes) + a task to finish the same day.
๐ Start it here for free:
โณ https://t.co/RCAufgZWP7
Which interview stage is the hardest for you?
Important note: disable TRACE on your production servers. It echoes the full request back, including cookies and auth headers, which opens the door to cross-site tracing attacks.
Check support before you use QUERY. Many proxies, CDNs, firewalls, and client libraries still don't recognize it. Some will block the request or fail to cache it.
Database query planner is pretty smart, and it removes unneeded joins. In this case, in the previous EF Core version, the split query used an inner join, and its variable was used in the `ORDER BY` statement. That's why the query planner was not able to remove it, but it was pretty unnecessary.
Practical use case of using union types:
1) Returning different outcomes from your application layer handlers and services, which would translate to success and error HTTP codes in the API layer.
2) Using it for a result pattern (instead of throwing exceptions at the application level for business errors).
Closed hierarchies made a good addition to union types.
I hope closed enum types will make a fit in .NET 12 and C# 16. Now it's a champion proposal.
Note: how to inject a scoped dependency into a singleton.
Inject IServiceScopeFactory into the singleton and create a new scope for each unit of work. Use "await using var scope = scopeFactory.CreateAsyncScope();" and resolve the DbContext from scope.ServiceProvider.
Don't resolve scoped services from an injected IServiceProvider. In a singleton, it's the root provider, so your DbContext lives until the app stops and gets shared across threads. IServiceScopeFactory makes the scope explicit and disposes everything when the work is done.
@kristijan_kralj P.S.: Don't use the Autofac library, it's outdated. Use Microsoft DI. Every package that you can find on NuGet gives you Microsoft DI extension methods, not for Autofac.
MassTransit v9 is paid, you can use V8 for free (or switch to Wolverine).