Skip to content

xakpc/RazorHtmx

Repository files navigation

dotnet htmx


Logo

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 »

About The Project

demo

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

(back to top)

Getting Started

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Author - @xakpc

Project Link: https://github.com/xakpc/RazorHtmx

Website: https://xakpc.info/htmx-dotnet

built with htnx