Skip to content

A sample CRUD application, mostly cribbed from https://github.com/bigskysoftware/contact-app, to follow along with the book "Hypermedia Systems".

License

Notifications You must be signed in to change notification settings

code-chimp/htmx-razor-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  • This project uses the Library Manager CLI to manage client-side libraries. You do not need it, but I find since I have .NET on my system it is really handy for handling non-bundled client-side assets.

    # Install the client-side libraries
    cd ContactApp.Web
    libman restore
  • 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.

About

A sample CRUD application, mostly cribbed from https://github.com/bigskysoftware/contact-app, to follow along with the book "Hypermedia Systems".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published