Bevel 0.3.0

dotnet add package Bevel --version 0.3.0
                    
NuGet\Install-Package Bevel -Version 0.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bevel" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bevel" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Bevel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bevel --version 0.3.0
                    
#r "nuget: Bevel, 0.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bevel@0.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bevel&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Bevel&version=0.3.0
                    
Install as a Cake Tool

Bevel

Bevel

Bevel adds static pages to your ASP.NET Core app. You write pages as Razor components and keep your content in files under Data/: Markdown, JSON, YAML, XML, or C# loaders. Bevel reads those files at build time and turns them into typed C# data. While you develop, the app renders pages live. When you are ready, one command writes plain HTML files you can host anywhere.

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

Install

You need the .NET 10 SDK or later and an ASP.NET Core project that uses Microsoft.NET.Sdk.Web.

dotnet add package Bevel

Bevel is pre-1.0, so APIs can change between minor versions. Read the changelog before you upgrade.

Quickstart

dotnet new install Bevel.Templates
dotnet new bevel -n MySite            # or: dotnet new bevel-blog -n MyBlog
cd MySite
dotnet watch                          # live pages while you edit
dotnet run -c Release -- --bevel-build   # static export into wwwroot/

Export with -c Release. A Debug build keeps drafts.

Read the docs

The docs live at https://khalidabuhakmeh.github.io/bevel/.

  • Get started: install, quickstart and a step-by-step tutorial.
  • Content: datasets, Markdown, custom formats, groups, references and processors.
  • Pages: routing, paging, links, images, RSS and sitemaps.
  • Deploy: export, sub-paths, GitHub Pages and other hosts.
  • Recipes: a blog, tags and archives, a docs site, a search index.
  • Reference: options, attributes, MSBuild properties and every BEVELnnn diagnostic.
  • Help: FAQ, troubleshooting, performance and the changelog.

Features

  • Typed data from Markdown, JSON, YAML, XML or your own loaders, checked at build time.
  • References between datasets, groups, [Unique] values and processors.
  • Razor pages mapped with MapStatic: one page per item, paging, RSS and sitemaps.
  • Atomic static export with a path base for sub-path hosting.
  • Clear BEVELnnn errors, each with a help link.

Contributing

dotnet build Bevel.slnx
dotnet test Bevel.slnx
./eng/smoke-test.sh      # packs Bevel and installs it into a fresh app

Source is in src/Bevel (runtime and MSBuild targets) and src/Bevel.Prebuild (the build-time data step). Tests are in tests/Bevel.Tests.

Releasing

See RELEASING.md.

License

MIT. See LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 0 11/29/2026
0.2.0 45 11/29/2026
0.1.0 48 11/29/2026