Copy URL
Embed Code
1
Download or Order Template
2
Read Documentation Project
3
Run Project on your website
themestemplate website themes website template dotnet landing page template featuredthemes dotnetthemes jamstackthemes freethemes
Minimal Dotnet Themes DAX SSG Content Docs
DAX - Pure C# Slim Static Site Generator .NET
Built for performance. DAX generates pure static HTML with zero JavaScript bloat. Perfect Lighthouse scores out of the box, without complex tooling or frameworks.
Without complex configuration—much like Jamstack-based SSGs such as Eleventy (11ty), Jekyll, or Astro.js—Dax precisely meets your needs in the modern SSG era.
DAX Features:
for first make sure you have download dotnet : https://dotnet.microsoft.com/en-us/download
next you can open terminal cmd and run this command :
SLIM VERSION
git clone https://github.com/mesinkasir/dax.git
cd dax
dotnet run -- build
dotnet run -- start
open localhost:8080
DAX VERSION
git clone https://github.com/mesinkasir/dax.git
cd dax
dotnet publish -c Release -o .
dax build
dax start
open localhost:8080
The DAX Architecture
dax/
├── Program.cs # Single-file SSG engine
├── Dax.csproj # net9.0, PublishSingleFile
├── README.md
├── LICENSE (MIT)
├── .gitignore
├── .github/
│ └── workflows/
│ └── build.yml # CI: build + test
│ └── deploy.yml # Github Pages Deploy
├── _data/ # Global data (auto-loaded)
│ ├── metadata.json # site.title, site.url
│ ├── config.yaml # Free YAML - nested list support
│ └── nav.json
├── content/ # File-based content (auto collections)
│ ├── index.md # / (free frontmatter: hero, image, etc)
│ ├── tags.md # /tags/ (auto tags list)
│ ├── posts.md # /posts/ controller -> collection: posts, pagination: 6
│ └── posts/
│ ├── hello.md # /posts/hello/ - tags: [csharp, dax]
│ └── second.md
├── templates/
│ ├── layouts/
│ │ ├── base.dax # Base layout
│ │ ├── home.dax # Home + hero.list, config.list
│ │ ├── posts-list.dax # Uses pagination.items
│ │ ├── post.dax # Single post + prev_post/next_post
│ │ ├── tag.dax # Single tag page
│ │ └── tags-list.dax # All tags index
│ └── partials/
│ ├── header.dax
│ ├── footer.dax
│ └── seo.dax
├── public/
│ └── css/style.css
└── site/ # Generated (gitignored)
├── index.html
├── posts/
├── tags/
├── sitemap.xml
├── robots.txt
└── rss.xml
For first you need to setup your site , open on _data/metadata.yaml.
Update with your site configuration
title: MINIMAL
description: "Minimal is a simple and clean theme for DAX Static Site Generator. It is designed to be lightweight and fast, with a focus on content and readability."
url: /minimal/
navbar:
title: MINIMAL
list:
- title: "Home"
url: "/minimal/"
- title: "About"
url: "/about/"
- title: "Blog"
url: "/posts/"
- title: "Docs"
url: "/docs/"
- title: "Deploy"
url: "/deploy/"
- title: "Download"
url: "https://creativitaz.gumroad.com/l/dax"
- title: "Github"
url: "https://github.com/mesinkasir/dax/"
about:
title: "DAX .NET Static Site Generator"
description: "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."
image: /img/dax-primary-logo.webp
Information :
DAX is support with your static media such css, js , image, file, video and others. just upload your media file on public folder.
To update home page open on content/index.md.
frontmatter:
---
title: Home
layout: home.dax
hero:
title: Hello DAX
description: Slim SSG
list:
- name: Blog
url: /posts/
meta:
icon: star
---
Welcome!
To update static page you can access on content then create your new markdown file, example about.md.
format:
---
layout: minimal/page.dax
title: Why DAX (C#) is Faster & Easier than CAX (C)
description: CAX was built in C - blazing fast but painful to hack. DAX rewrites the same philosophy in Pure C# and wins on DX.
---
Article here...
To update blog list you can access on content/posts.md.
format:
---
collection: posts
title: Blog list
description: List of articles
pagination: 6
layout: posts-list.dax
---
You can update your templating on templates.
Select your favorite technology and website blog themes template