But now I strongly encourage every developer to look at .net core and asp.net for web development.
The entry is a slightly steep learning curve, but its well worth it. Especially if you are a lone developer, deploying to a vm in the cloud, the cost savings due to the enhanced throughput itself is substantial.
Creating a web api is a breeze.
Standard websites with a few pages and some forms can take advantage of razor pages.
And Blazor is an awesome alternative to React/Angular/Vue etc.
Edit : Also, the full tech stack, including developer tools are open source, as in with proper licensing. And the open source dev tools experience is also very very good. VS Code is an awesome IDE.