I am describing the building of a SPA - Single Page Application.
I have built a quick application which performs CRUD operations on the single table using Knockout, Web API, and NHibernate data layer.
Here is the browse data view of the application. There are links to edit, delete and add new items. Also it does paging, because the table is large.

Here is the Edit data view :

How is it built?
A standard MVC project is created in C#, selecting the WEB API project template along the way. A Project Reference is added to the data layer project.
There are 3 main components needed to get a UI running : a Controller class, a Javascript file, and an HTML View file.
The HTML View
References to the various script libraries are added
It is easiest is to build the View and then animate it with code. The View I have above contains edit and list sections which are hidden and shown alternatively, using the JQuery “Hide” and “Show” commands. Just to explain the syntax, here is the relevant part of the Edit section :