Chris Woody Woodruff

You Don't Need Bootstrap to Build a Real ASP.NET Core App

I have a To-Do example app in the htmxRazor repository.

Most ASP.NET Core tutorials and starter templates default to Bootstrap and jQuery. This one takes a different approach. The To-Do app is built entirely with htmxRazor components and htmx, showing how you can create a fully interactive Razor Pages application without pulling in a CSS library or JavaScript toolchain you do not actually need.

It covers the patterns developers encounter on real projects: form inputs with model binding and validation, buttons that trigger server actions, dynamic list updates with hx-swap, and all of it styled with htmxRazor's built-in design token system.

There is also a style example in the repo that goes further. It shows how to layer your own custom CSS on top of the component library, giving you full control over the visual direction of your project without fighting the defaults or forking anything.

If you have been curious about htmxRazor but wanted to see a complete working app before committing, this is a good starting point. Clone the repo, run the project, and you will have a functional reference for how the components work together in practice.

The source for the components, demo site and examples is in the htmxRazor GitHub repo: https://lnkd.in/gExa5VBP

Component docs and live demos: https://htmxRazor.com

5 views

Add a comment

Replies

Be the first to comment