About the Course:
This 4-hour beginner workshop introduces .NET developers to htmx and the hypermedia-driven approach to building interactive web applications. You'll learn why htmx is gaining popularity as a simpler alternative to JavaScript SPA frameworks, and how it leverages the web's original architecture, HTML as the API contract, to create dynamic user experiences.
Through hands-on labs, you'll build a task management application from scratch, learning the "Fragment-First" architecture pattern that makes htmx applications maintainable. You'll master the core htmx attributes (hx-get, hx-post, hx-target, hx-swap, hx-trigger) and implement real-time form validation with server-side logic. By the end, you'll have a solid foundation for building htmx applications and be ready to tackle advanced patterns.
This workshop is the recommended starting point before attending the Expert Workshop.
Course Objectives
- Understand the hypermedia architecture and "HTML over the wire" philosophy
- Learn the Fragment-First design pattern for maintainable htmx applications
- Master core htmx attributes: hx-get, hx-post, hx-target, hx-swap, hx-trigger, and hx-indicator
- Create Razor Pages handlers that return partial view fragments
- Implement partial page updates without full page reloads
- Build real-time form validation with server-side logic and immediate UI feedback
- Troubleshoot common htmx integration issues
- Establish conventions for handler naming and fragment organization
Who is the Target Audience?
- ASP.NET Core developers new to htmx
- Developers curious about alternatives to JavaScript SPA frameworks
- Teams evaluating htmx for server-rendered applications
- Developers comfortable with Razor Pages who want to add interactivity
- Anyone seeking a gentler learning curve for modern web interactivity
- Backend developers (non-.NET) exploring simpler front-end approaches (e.g., Node, Java, Python developers tired of heavy SPA frameworks)
- Full-stack developers looking to reduce frontend complexity and JavaScript dependency
- Frontend developers interested in server-driven UI and HTML-first architectures
- Software architects evaluating modern alternatives to SPA-heavy stacks
- Engineering managers and tech leads exploring simpler, more maintainable web architectures for their teams
- Startup founders or indie developers who want to build interactive apps quickly without large frontend overhead
- Legacy system developers modernizing MVC or server-rendered applications
- Developers interested in progressive enhancement and performance-first web development
- Devs burned out by React/Angular/Vue complexity and looking for lightweight alternatives
- QA engineers or SDETs wanting to better understand server-driven UI interactions and testing implications
- Bootcamp graduates or junior developers seeking a simpler path to building dynamic web apps
- Product engineers working on internal tools or dashboards where simplicity and speed matter more than SPA complexity
Basic Knowledge:
- Basic proficiency in C# programming
- Familiarity with ASP.NET Core and Razor Pages basics
- Understanding of HTML and basic HTTP concepts (GET, POST)
- Development environment: Visual Studio 2022, VS Code, or JetBrains Rider
- .NET 8 SDK or later installed