Code Snippets HTML+Razor

Short texts HTML+Razor 🧑‍💻 Code snippets HTML+Razor ✍️ Reading lists HTML+Razor 👀

MudBlazor horizontal menu alternative

M Muudstrap Home Features Pricing Action Another action Something else here M Muudstrap Home Features Pricing @code{ MudTheme MuudstrapTheme = new MudTheme() { Palette = new Palette() { AppbarBackground = “#f8f9fa”, AppbarText = “#181819” }, Typography = new Typography() { H6 = new H6() { FontFamily = new[] { “system-ui”, “-apple-system” ,”Segoe UI”, “Roboto “,”Helvetica […]

imageGalleryStyling

@model ImageGallery.Models.GalleryIndexModel Copy and paste the snippet below @foreach (var image in Model.Images) { }

UploadImageStyling

@model ImageGallery.Models.UploadImageModel Copy and paste this code below. @model ImageGallery.Models.UploadImageModel Title Tags Upload Image

Features in Orchard Core

using Microsoft.AspNetCore.Mvc; using OrchardCore.Modules; namespace OCModule.Controllers { public class CoreController : Controller { public IActionResult Index() { return View(); } } [Feature(“American”)] public class AmericanController : Controller { public IActionResult Index() { return View(); } } [Feature(“Canadian”)] public class CanadianController : Controller { public IActionResult Index() { return View(); } } } using System.Globalization; namespace […]

Features in Orchard Core

using Microsoft.AspNetCore.Mvc; using OrchardCore.Modules; namespace OCModule.Controllers { public class CoreController : Controller { public IActionResult Index() { return View(); } } [Feature(“American”)] public class AmericanController : Controller { public IActionResult Index() { return View(); } } [Feature(“Canadian”)] public class CanadianController : Controller { public IActionResult Index() { return View(); } } } using System.Globalization; namespace […]