Getting started with a Bootstrap-based SPA

VS2015 ships with numerous templates and project types available for creating web applications. Since the rest of the chapter will be much more useful with a sample project available, we will use this recipe to create a new ASP.NET Single Page Application using C# and Bootstrap.

Bootstrap is a popular open source framework for frontend web development. It provides a dynamic, mobile-first design, which automatically reacts in a useful way to the resizing of browser windows, thus lending itself to easily accommodate the wide range of phones and tablets in use today.

A default Bootstrap-themed web application will look similar to the following screenshot:

In this recipe, we will create a new ASP.NET single ...

Get Visual Studio 2015 Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.