Hacker ApprovedDepartments

ASP.NET Razor

Ranked 3 of 6 template engines by recommenders

Mature, feature-rich ASP.NET template syntax that mixes HTML and C# freely and runs fast.

Mature, feature-rich ASP.NET template syntax that mixes HTML and C# freely and runs fast.

9 people gave an opinion

recommend it
8
criticize it
1
approval share
89%
Each figure is one person. RecommendsCriticizes

Recommended in 5 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 8 people recommend itNeeds 10 or more, not met.
  • 8 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 5 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

Other template engines people recommend

The four most recommended other template engines, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

ASP.NET Razor compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Jinja14767%7—Approved
Templ9375%4——
ASP.NET RazorThis page8189%5——
Pug template engine5271%4——
Gsxui50100%2——
See all 6 template engines, ranked

What people said

7 of the 9 comments that mention it, newest first. Each links to the original comment.

“Razor .cshtml to rock my 2026 mistersoft web stack”

MixedComment from 27 Jul 2026 in “Removing React.js from the codebase and adapting Htmx for UI interactivity”

“the ASP.NET Razor syntax allows HTML and C# code to be interspersed surprisingly freely”

RecommendsComment from 5 Jul 2026 in “What ORMs have taught me: just learn SQL (2014)”

“that style of thrash metal was already being done on a much more advanced level by bands like Razor”

RecommendsComment from 8 Mar 2026 in “Uploading Pirated Books via BitTorrent Qualifies as Fair Use, Meta Argues”

“The Razor syntax is among the better somewhat type-safe template languages in the wild”

RecommendsComment from 9 Jan 2026 in “What Happened to WebAssembly”

“It's mature, has tons of features, and it's very fast.”

MixedComment from 12 Nov 2025 in “.NET 10”

“Razor works great as does MVC WebAPI”

RecommendsComment from 12 Nov 2025 in “.NET 10”

“Most other template languages hits serious limitations really fast.”

CriticizesComment from 8 Nov 2025 in “Marko – A declarative, HTML‑based language”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.