Book Image

Visual Studio 2013 Cookbook

Book Image

Visual Studio 2013 Cookbook

Overview of this book

Table of Contents (17 chapters)
Visual Studio 2013 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Getting started with Bootstrap


Visual Studio 2013 changes the default template used for MVC-based projects to use the open source Bootstrap framework. Bootstrap provides a dynamic design that automatically reacts in a useful way to the resizing of browser windows, which also lends itself to easily accommodate the wide range of phones and tablets in use today.

You may recall the default MVC template from VS2012, which is shown as follows:

In VS2013, a One ASP.NET project using MVC with Bootstrap looks like the following screenshot:

In this recipe, we will create a new MVC application to see Bootstrap in action.

Getting ready

You can use Visual Studio Express 2013 for Web or any of the premium versions for this recipe.

How to do it…

We'll start off creating a new project to see what is provided out of the box and then see what options exist for customization. This is performed with the following steps:

  1. Start up your copy of VS2013.

  2. Create a new project by navigating to Visual C# | Web | ASP.NET Web...