Menu

Post image 1
Post image 2
1 / 2
0

Introduction to LiquidPages

DEV Community: csharp·Kinetq·3 days ago
#QSsXWKcQ
#dev#if#else#endif#liquid#fullscreen
Reading 0:00
15s threshold

If you've ever enjoyed the developer experience of Razor Pages in ASP.NET but wished you could use the safer, designer-friendly Liquid templating language instead, then LiquidPages is the framework for you. LiquidPages is an open-source C# library from Kinetq that brings a familiar MVVM-style page model to Liquid templates—and it's designed to plug into virtually any .NET web server. In this post, we'll take a tour of what LiquidPages is, why it exists, and how its building blocks fit together. What Is LiquidPages? LiquidPages is a middleware-based library that uses Fluid under the hood to parse and render Liquid templates. Liquid is a flexible and safe templating language originally created by Shopify, and it's a great fit for content-driven sites where templates may be edited by non-developers. LiquidPages adopts an MVVM philosophy similar to Razor Pages —hence the name. Each page is paired with a page model that supplies a strongly-typed view model to the Liquid template at render time.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More