Introduction to LiquidPages
LiquidPages is an open-source C# library designed to integrate the Liquid templating language with .NET web servers. It offers a familiar MVVM-style page model, making it accessible for developers accustomed to Razor Pages. The framework emphasizes safe templating and modularity, allowing templates to be easily managed across various C# projects.
- ▪LiquidPages is a middleware-based library that utilizes the Liquid templating language.
- ▪It provides a clean separation between presentation and data/logic through a strongly-typed view model.
- ▪The library is designed to be web-server agnostic and can run on various HTTP listeners.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3958417) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Kinetq Posted on May 29 • Originally published at kinetq.com Introduction to LiquidPages #liquid #csharp #liquidpages #webdev 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.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).