Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.73 KB

File metadata and controls

30 lines (24 loc) · 1.73 KB

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.