
Khalid Abuhakmeh · 14 min readC# & .NET
Bevel: A Static Site Generator for ASP.NET Core
Bevel shows how to build a static site generator in ASP.NET Core that turns Markdown and other data files into typed C# records, renders Razor pages, and exports plain HTML. It demonstrates a build‑time pipeline, typed content validation, and integration with existing ASP.NET Core tooling.
- Use DataSource attribute to map Markdown files to typed records at build time.
- MapStatic routes expose Razor pages as static URLs during export.
- Typed content lets the compiler catch errors before deployment.