DEV Community

Mehdi Ouassou
Mehdi Ouassou

Posted on • Originally published at Medium

Why I Bet My Engineering Career on .NET 9 (And Left Legacy PHP Behind)

A rappresentation of C# logo

When I started my journey in software engineering, I spent a lot of time in the trenches of legacy web development. I maintained spaghetti PHP codebases, patched SQL injection vulnerabilities in systems used by thousands of students, and wrestled with the chaos of loosely typed languages.

It was a necessary education. But it wasn’t the future.

Today, as a Software Engineer based in Verona, I have pivoted entirely to the Microsoft Stack (.NET 9). Here is why I believe C# and Blazor are the only viable choice for building secure, scalable enterprise systems in 2025.

1. Type Safety is Not Optional

In my early days of building automation scripts and web tools, “undefined is not a function” was a daily nightmare. In the enterprise world—where I now focus on CRM architecture—you cannot afford runtime errors.

C# gives me the strictness I need. If the code compiles, it (mostly) works. The transition from legacy PHP to strongly typed C# changed the way I think about data. I don’t just move JSON around; I define Models, Contracts, and Interfaces. This makes the software predictable and secure by design.

2. The Blazor Revolution

For years, “Full Stack” meant context-switching between a backend language (Python/Java) and a frontend framework (React/Angular).

With Blazor WebAssembly, I write C# on the server and C# in the browser.
I share my DTOs (Data Transfer Objects) and validation logic across the entire stack. This cuts development time in half and eliminates the “API drift” that kills so many projects.

3. Performance is King

I come from a background of low-level automation and WinAPI optimization. I care about milliseconds.
Modern .NET 9 is absurdly fast. With AOT (Ahead-of-Time) compilation, C# now rivals C++ and Rust in many benchmarks. For the high-availability CRM systems I architect, this performance is non-negotiable.

Conclusion

There is a reason enterprise companies in Northern Italy (and the world) run on .NET. It is stable, it is fast, and it is mature.
I am proud to be a .NET Specialist. I don’t chase the JavaScript framework of the week. I build systems that last.

I am Mehdi Ouassou, a Software Engineer and .NET Developer. You can view my portfolio and projects at mehdiouassou.it.

Top comments (1)

Collapse
 
a-k-0047 profile image
ak0047

Thank you for sharing your experience!
Since I’ve never worked with .NET, your post felt fresh and very interesting to read.