| I was in the same boat. I wanted to switch a few years ago actually, but EF core was missing core features I took for granted in Sqlalchemy. As for the reasons: - Static typing and C# projects makes code organization and refactoring dead easy. - Modern C# doesn’t require that much boilerplate, and has features that allows a developer to speed up development, like Python. - EF Core covers everything I need from SqlAlchemy/Alembic. - LINQ is an awesome way to work with collections. Type safe DB queries comes handy both when developing and refactoring. - ASP.NET covers everything I need from flask/Fastapi. - More speed and lower resource usage is nice. - Being able to use an IDE with it’s full power is nice. My main reason to switch was static typing, and my only requirement was a good ORM comparable to SqlAlchemy. The rest is just bonus. |
> - Being able to use an IDE with it’s full power is nice.
In my experience, Visual Studio is much slower when developing. My Python workflow affords a 200ms red-green-refactor loop, while VS is on the order of several seconds.
This might not seem like much, but it has a great impact on my engagement, flow, and satisfaction.