Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just stick with the classic frameworks. Razor works great as does MVC WebAPI


I tried Razor. It's mature, has tons of features, and it's very fast. But it only really solves rendering HTML.

You will still need to integrate Vite somehow to use modern CSS, TS, etc. And if you do that, why even use Razor to begin with?

Also, hot reload is garbage. C# will never get close in speed or features to something like Vite.


If youre intent on writing everything on the frontend in javascript then you can just have a frontend app and use webapi MVC on the backend. Personally, in my personal projects, I find I iterate faster if I dont't write any javascript. Every page is just static HTML and any interaction is done via CSS (which you can do perfectly well in razor pages) or html forms. Managing page state is a huge time sink and IMO not worth it, but it's what pays the bills lol


> If youre intent on writing everything on the frontend in javascript then you can just have a frontend app and use webapi MVC on the backend.

Yes, I'm aware. I've been doing web dev since the 90s.

> my personal projects, I find I iterate faster if I dont't write any javascript

It's expected you will iterate faster if you have less features, no?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: