Razor in.
Plain HTML out.

Bevel adds static pages to the ASP.NET Core app you already know. You write Razor components and drop your content in Data/. Bevel builds plain HTML you can host anywhere.

Get started Follow the tutorial

Terminalbash
dotnet new install Bevel.Templates
dotnet new bevel -n MySite

Razor components and Markdown data go in. Bevel runs at build time and writes plain HTML pages, like this schedule page, that you can host anywhere.

How it works

You keep your content in files. Bevel does the rest.

  1. You add files

    You put Markdown, JSON, YAML, or XML under Data/. You describe each collection with a C# record.

  2. Bevel types them

    At build time, Bevel reads every file and checks it. You get ISiteData with one typed property per collection.

  3. You export plain HTML

    You map Razor pages with MapStatic. While you work, they render live. One command writes them as static files.

Diagram: files under Data/ go through a build-time data step into typed ISiteData. Razor pages mapped with MapStatic read it and render live while you develop, or as static files on export.

Start here

Pick the path that fits where you are.

  • Quickstart

    You create a site and see it run in five minutes.

  • Tutorial

    You build a conference site from empty folder to published pages.

  • Guides

    You learn data, pages, and deployment one task at a time.

A peek at the code

Follow one talk from a Markdown file to a page. This is real code from the conference site you build in the tutorial.

You write the talk as Markdown. The front matter holds the facts. speakerId points at a speaker in another file.

samples/Bevel.Conference/Data/Sessions/keynote-static-first.mdmarkdown
---
title: "Keynote: Static First"
start: 2027-05-12T09:30:00
minutes: 45
room: "Main Hall"
speakerId: ada
summary: "Why the fastest page is the one you built yesterday."
---
Most pages do not change between requests. So why do we render them on every request?

Ada opens the conference with a tour of the **static-first** mindset:

- Turn your content into plain data.
- Render it once, at build time.
- Keep servers for the parts that really need them.

Expect live code, a few strong opinions, and a free tour of the schedule you are reading right now.