Table of Contents

ASP.NET Core + HTMX

HtmxToolkit guides

Load HTML fragments, submit forms, and update your pages with HTMX and ASP.NET Core.

Choose a path below. For individual types and members, use the API reference.

New to HTMX? Read the short Overview first. Then build one Razor Pages application through three tutorials, with each step building on the previous one:

  1. Getting started: load product details into the page.
  2. Forms, validation, and events: save a profile and refresh its summary.
  3. Loading states and request errors: show progress and recover from failed requests.

For another application style, use the complete MVC or Minimal API example. For an existing integration, browse the task guides below or run the demo.

Start here

Build an integration

Configure and operate

Tip

If an application already uses HTMX, begin with Choose an HTMX version, then add only the toolkit features it needs.