Technical foundation
Blazing is a single NuGet package for ASP.NET Core on .NET 10. No template language of its own: you make blocks the way you are used to, and the management environment is in the package.
Blocks
A block inherits from BlazingBlock, with [Block] on the class and [Field] on every field the editor fills in. The management environment makes the editor from the type.
[Block(Guid = "2f8c5d70-e1a4-4b39-9f62-7c0e4a8d1b56",
DisplayName = "Text with image", Icon = "icon-0034")]
public class TextImageBlock : BlazingBlock
{
[Field(TabName = "Content", DisplayName = "Heading", Mandatory = true)]
public string Title { get; set; }
[Field(TabName = "Content", DisplayName = "Text")]
public HtmlString Text { get; set; }
[Field(TabName = "Content", DisplayName = "Image")]
public BlazingImage Image { get; set; }
[Field(TabName = "Layout", DisplayName = "Image",
StringFormat = StringFormat.RadioButtonList,
AvailableValues = ["right=Right", "left=Left"])]
public string ImagePosition { get; set; }
}
Every block has a controller and a Razor view. BlazingDisplayFor shows a field with the right html: an image with webp and lazy loading, a link that refuses a script, text encoded.
@model TextImageBlock
<section class="text-image text-image-@(Model.ImagePosition ?? "right")">
<div class="text-image-content">
@Html.BlazingDisplayFor(m => m.Title, "h2")
@Model.Text
</div>
@Html.BlazingDisplayFor(m => m.Image, "div.text-image-visual")
</section>
Security
No cookies and no tracking for the protection against abuse.
The browser invisibly solves a small sum. A person notices nothing; for a bot with thousands of requests it is expensive. With limits per IP address, a honeypot and a minimum time to fill in.
Passwords stored with PBKDF2-SHA512 (210,000 rounds). After five failed attempts sign-in is blocked for fifteen minutes, per user and IP address. Signing out ends all sessions.
Scripts and dangerous code are removed when saving.
Only allowed file types, with a check of the content, up to 50 MB by default.
We are happy to tell you how to start, and what Blazing does and does not do.