Introduction

The ASP.NET Single Page Application (SPA) is a new feature in MVC 4 beta preview. It provides a better end-to-end experience for building applications with significant client-side interactions using JavaScript.

It includes the following components:

  1. A set of JavaScript libraries for richer local interactions with cached data
  2. Additional Web API components for unit of work and DAL support
  3. An MVC project template with scaffolding to get started quickly

The installation of SPA is a two-step procedure:

1. Install ASP.NET MVC 4. 2. Install the NuGet package containing the latest SPA scaffolding.
  • Single Page Application and Web API are installed with the ASP.NET MVC 4 Beta.
  • Choose either the Web Platform for Visual Studio 2010 or for Visual Studio 11, depending on which version you are running.
  • The latest SPA scaffolding is installed from within Visual Studio using the Library Package Manager on the Tools menu.

In this chapter, you'll learn:
What SPA is and how is this documentation is organized.

  1. Single Page Application Overview

    By Brad Severtson|February 9, 2012

    How ASP.NET SPA provides a better end-to-end experience for building applications with significant client-side interactions using JavaScript.

  2. SPA Documentation Guide

    By Brad Severtson|February 9, 2012

    This describes the organization of the SPA documentation and highlights ways in which the this documentation can be used.