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 page application to see Bootstrap in action.
Getting ready
You can use Visual Studio Express 2015 for Web, Visual Studio 2015 Community Edition, or any of the premium editions for this recipe.
How to do it…
We'll start off by creating a new...