Hello DAX - Pure C# Slim Static Site Generator That Slaps Blazor Bloat

Hello DAX - Pure C# Slim Static Site Generator That Slaps Blazor Bloat
Publish at : 2026-08-03

Why DAX built with pure C# 800 lines Program.cs is faster than Blazor WASM for blogs and docs - 0KB JS vs 512KB

What is DAX?

DAX is Pure C# Slim Static Site Generator. Single file Program.cs ~800 lines, no Node, no WASM, no hydration.

Inspired by CAX (C language) but rewritten for .NET ecosystem so Windows users can use CMD native without MinGW or make.

Why not Blazor?

Blazor is for interactive dashboards. It loads 512KB WASM + _framework/blazor.web.js, boot time ~2s, needs hydration.

DAX outputs pure HTML 0KB JS, 50ms load, Lighthouse 100, SEO instant.

Benchmark same blog:

  • Blazor: dotnet publish 8s, payload 512KB, first paint 2.1s
  • DAX: dotnet run -- build 0.12s, payload 0KB, first paint 0.05s
Use Blazor for apps. Use DAX for content.

How to start?

dotnet new console -n my-blog

copy Program.cs Dax.csproj

dotnet run -- init

dotnet run -- build

dotnet run -- start

Deploy to Vercel, Netlify, GitHub Pages — they have dotnet preinstalled, unlike CAX which fails without GCC.

About

DAX .NET Static Site Generator

DAX .NET Static Site Generator

DAX is a slim .NET SSG. Build static sites 50x faster than Blazor SSG. No WASM bloat, just pure static HTML. For .NET devs who hate Blazor slow.

Lastest Post

Hello DAX - Pure C# Slim Static Site Generator That Slaps Blazor Bloat

Hello DAX - Pure C# Slim Static Site Generator That Slaps Blazor Bloat

DAX vs CAX - Why C# Beats C for Windows Developers

DAX vs CAX - Why C# Beats C for Windows Developers

Auto Collections and Free Nested Frontmatter - Jekyll Style but Faster

Auto Collections and Free Nested Frontmatter - Jekyll Style but Faster

Tags

service ecommerce headless fiverr shopify tutorial collections frontmatter jekyll comparison cax csharp windows dax ssg blazor performance pwa progressive-web-app docs structure beginner migration modern-website benchmark lighthouse seo deploy vercel netlify github-pages tags pagination