DAX Folder Structure Explained - Minimalist but Powerful

DAX Folder Structure Explained - Minimalist but Powerful
Publish at : 2026-07-30

Complete guide to DAX folder structure - _data, content, templates, public, site

Structure

│   Dax.csproj, Program.cs

├───_data/ → metadata.json, config.yaml, nav.json

├───content/ → index.md → /, about.md → /about/, posts.md + posts/hello.md → /posts/hello/

├───templates/layouts/ → base.dax, home.dax, posts-list.dax, post.dax, tag.dax

├───templates/partials/ → header.dax, footer.dax, seo.dax

├───public/ → css/, img/ → copied to site/

└───site/ → output (gitignored)

Why this?

  • _data/ = global data, accessible , DAX .NET Static Site Generator
  • content/ = markdown files, URL = file path
  • templates/ = layouts + partials, {% include header.dax %}
  • public/ = static assets copied verbatim
  • site/ = build output, never edit
.gitignore must include bin/, obj/, site/.

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