Path: redb/redb.Templates/templates/redb-razor/Pages/Index.cshtml Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Templates/templates/redb-razor/Pages/Index.cshtml ---- @page @model IndexModel @{ ViewData["Title"] = "Products"; }

Products

@Model.Total product(s)

@foreach (var item in Model.Items) { }
NameCategoryPriceIn stock
@item.Name @item.Props!.Category @item.Props.Price.ToString("F2", System.Globalization.CultureInfo.InvariantCulture) @(item.Props.InStock ? "yes" : "no")