htmx is a great fit for dotnet - but not every dotnet stack is the best fit for htmx.
In this repo, I'm exploring how various techs work with htmx.
Read the series »
htmx is a js library that gives access to AJAX, CSS Transitions, WebSockets, and Server Sent Events directly in HTML, using attributes. The library is built around "Hypermedia-Driven Application Architecture," which, in simple terms, could be described as "return HTML instead of JSON."
Razor Pages extends ASP.NET Core MVC, making coding page-focused scenarios easier and more productive than controllers and views. Razor Pages group the action (called a handler) and the viewmodel (called a PageModel) in one class and link it to a view. It uses a routing convention based on location and name in a Pages folder. This tends to keep Razor Pages and its handlers smaller and more focused while at the same time making it easier to find and work with
- RazorHtmx: usage of htmx with razor pages, reproduce of default htmx examples
- MinimalAPIHtmx: usage of htmx with Minimal API
- RazorHtmx.Validation: exploration of various validation techniques with htmx
Distributed under the MIT License. See LICENSE.txt
for more information.
Author - @xakpc
Project Link: https://github.com/xakpc/RazorHtmx
Website: https://xakpc.info/htmx-dotnet