Enrich user interface of your web application with Bootstrap UI framework
Tags: bootstrap, visualstudio, css
Published: 2018-03-12 15:26:23

---
title: Enrich user interface of your web application with Bootstrap UI framework
published: true
tags: Bootstrap,Visual Studio,css,
canonical_url: http://blog.mandarbadve.com/2014/01/21/enrich-user-interface-web-application-bootstrap-ui-framework/
---

Bootstrap is very reach UI framework, flexible and responsive. It is made by Twitter and hosted on github.

You can find the more details at [http://getbootstrap.com/](http://getbootstrap.com/ "http://getbootstrap.com/")

Let’s start to integrate this framework into your web application.

Very first you need to download framework files from bootstrap website mentioned above. Download will contain ZIP file (bootstrap-x.x.x-dist.ZIP)

After extracting the downloaded ZIP file, you will get three folders:

- css: This folder contains style sheets files for the bootstrap framework and theme
- fonts: This folder contains necessary files for&nbsp;the fonts
- js: This folder contains JavaScript files for bootstrap framework.

For the further process I have used Visual Studio to create and manage web application. You can use any editor instead of the Visual Studio.

In the Visual Studio go to the menu: &nbsp;File -\> New -\> Project. It opens New Project dialog. Select ASP.NET Web Application and give the name for the solution.

[![Enrich user interface of your web application with Bootstrap UI framework](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/NewProjectDialog.png?resize=656%2C400)](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/NewProjectDialog.png)Click on OK then Select Empty project type.

[![select empty project template](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/EmptyProject.png?resize=656%2C460)](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/EmptyProject.png)

Click OK to create project.

You will see solution created as below.

[![Solution1](https://i0.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution1.png?resize=356%2C347)](https://i0.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution1.png)

Right click on ‘WebAppWithBootstrap’ the solution select Add then select HTML Page.

[![Solution2](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution2.png?resize=656%2C369)](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution2.png)Give the name as index.html

[![Solution3](https://i0.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution3.png?resize=400%2C117)](https://i0.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution3.png)

Index.html file is created opened in editor.

Now add folder ‘Bootstrap’ by right-click on solution and choose Add and then New Folder.

[![Solution4](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution4.png?resize=355%2C347)](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution4.png)

Then create two folder called ‘css’ and ‘js’ inside the folder ‘Bootstrap’

[![Solution5](https://i0.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution5.png?resize=357%2C348)](https://i0.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution5.png)

Now copy the ‘bootstrap.min.css’ file from css file folder of the extracted Bootstrap zip file to the css folder of the solution. Also copy the ‘bootstrap.min.js’ JavaScript file from js folder of the extracted Bootstrap zip file to the js folder of the solution.

[![Solution6](https://i2.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution6.png?resize=354%2C348)](https://i2.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution6.png)

Now we need to give references of the added css and js file into index.html file as follows.

[![Solution7](https://i0.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution7.png?resize=524%2C195)](https://i0.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution7.png)

Here we have added meta tag with viewport and set content width=device-width. This made your page responsive.

We have done with the integration of Bootstrap framework with web application.

Now open the page into browser.

[![Solution8](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution8.png?resize=656%2C369)](https://i1.wp.com/blog.mandarbadve.com/wp-content/uploads/2014/01/Solution8.png)



_This post was originally published on [blog.mandarbadve.com](http://blog.mandarbadve.com/2014/01/21/enrich-user-interface-web-application-bootstrap-ui-framework/)_