Are you tired of the endless JavaScript dependencies, the complex build processes, and the constant battle to keep your front-end frameworks up-to-date? As .NET developers, we pride ourselves on robust architecture, efficient code, and minimizing unnecessary complexity. But let’s be honest – a significant portion of our time is spent managing front-end interactions, often driven by JavaScript.
HTMX is a revolutionary approach that lets you build interactive web applications with minimal JavaScript. It leverages the power of CSS and the browser’s native AJAX capabilities, allowing you to achieve dynamic behavior directly from your .NET backend. This translates to faster development, reduced complexity, and a leaner, more maintainable codebase.
We have a comprehensive on-demand webinar showcasing HTMX’s power, and we’re excited to share the resources to help you dive in.
What is HTMX?
HTMX is a lightweight JavaScript library that enables you to easily trigger events and AJAX calls through HTML attributes. It also has CSS classes to make it easy for you to call attention to a partial page update. It’s a surprisingly simple and effective solution for building highly interactive web applications, and it’s especially well-suited for .NET development.
These are some of the things you can accomplish with HTMX:
- Content swapping
- Form validation
- Modals
- CRUD operations with HTTP Verbs (POST, GET, PATCH, PUT, and DELETE)
- Component Development
- Partial page updates
HTMX Demos
We have demos that showcase each of these things:
- Welcome Demo - An overview of HTMX and its capabilities.
- The values of hx-swap - Understanding the core principle of dynamically swapping content.
- hx-post & hx-validate in a contact form – Building a fully functional contact form with HTMX.
- hx-prompt & hx-confirm - Implementing user confirmations and prompts.
- HTMX CSS classes - Exploring the various CSS classes and their functionalities.
- Error handling - Handling errors gracefully and providing informative feedback to the user.
- PUT, PATCH, DELETE – Implementing CRUD operations directly with HTMX.
- Out-of-band element update – Updating elements asynchronously without triggering a full page reload.
- Logging - Incorporating logging to improve debugging and monitoring.
One of the demos that showcases HTMX’s capabilities really well is our HTMX TODO List. We start out with a simple TODO list to show POST, PUT, PATCH, and DELETE:

Then, in our out-of-band demo, we show how you can do partial page updates to show when the list was last modified and how many tasks are in the list:

All of our demos are included in our htmx-razor-demo repo on GitHub.
Get Started with HTMX Today!
We have our webinar here:
View this webinar on our YouTube channel!
We also have the option to get an email with a link to the webinar as well as supporting links. This will add you to our email list.

