HTMX for Modern .NET Development

March 26, 2026HTMX for Modern .NET Development
Sarah Dutkiewicz

Sarah Dutkiewicz, Senior Trainer

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:

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:

HTMX TODO List - with tasks to pick up the kid, cook dinner, and go to the user group. Each task has buttons for Edit (PUT), Edit Desc (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:

HTMX TODO List with Out-of-Band Updates - this builds upon the last image. This now includes the total number of tasks as well as the last modified task and when it was modified.

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.

Sign up to receive an email with a link to this webinar plus supporting links to get started with HTMX today!