/htmx-razor-example

An ASP.NET Razor Pages web application created to follow along with the book "Hypermedia Systems" in a language that may be more comfortable for some developers.

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Contacts App (ASP.NET Razor Pages)

A .NET Razor Pages application made in the spirit of the official Flask example application that accompanies the book Hypermedia Systems. You can use this application as a starting point to follow along with the book starting at Chapter 05.

Note

  • I deliberately removed jQuery and jQuery-Validate to show a "chunky" Web 1.0 app with as little client-side JavaScript as possible. This is also more in line with the official Flask application used in the book.
  • The data service is rudimentary as that is not the point of the book, and by using a JSON file as the data store, it is easy to follow along without setting up a database and worrying about additional dependencies.
  • I will win no awards for design in my lifetime and I am okay with this.