The number one project on GitHub is Twitter Bootstrap, a free styling framework with components for web applications. In Visual Studio 2013, the Bootstrap NuGet package is included with the ASP.NET project templates, including WebForms and MVC. It's a great way to ensure new web projects have great, mobile-first styling out of the box, but you can use it much more effectively with just a few tweaks.
Less is better
The Bootstrap NuGet package comes with the bootstrap.css file, that was built using Less source files. Less is a powerful CSS pre-processor, extending the CSS language to include features such as variables, mixins and functions. I'll demonstrate a few tricks you can use with Bootstrap's Less files, but it's a good idea to bookmark Less's extensive and complete documentation.
Step 1: Enhance Visual Studio to support Less
Install Web Essentials 2013 using Extensions and Updates or the Visual Studio Gallery.
Web Essentials adds features to Visual Studio supporting a myriad of web technologies. Its settings are available in the standard Options dialog, but the defaults are fine for now.
Step 2: Remove included bootstrap package
To avoid conflicting updates, it's best to remove the original bootstrap package.
Right-click the References node in Solution Explorer and click choose Manage NuGet Packages. Choose Installed packages and find "bootstrap". Click its Uninstall button. Alternatively, uninstall it from the Package Manager Console using the command Uninstall-Package bootstrap.
Note: if you are using WebForms, another package has a dependency on bootstrap. It shouldn't hurt to leave it there, just don't use the CSS files and let the next package overwrite the script files.
Step 3: Install Bootstrap Less Source
Choose the Online menu then search for "Bootstrap Less Source" and install the result. Alternatively, you can install it from the Package Manager Console with the command Install-Package Twitter.Bootstrap.Less.
Step 4: Trim the Bundle
Open App_Start/BundleConfig.cs. In a brand new project, there should be several script bundles and one style bundle. Remove bootstrap.css from the style bundle.
Step 5: Unleash Less
This is where things get interesting.
Open the Content folder and rename Site.css to Site.less. Open it. Web Essentials displays the Less code, which was your CSS code, in the left panel. The right panel is a preview of the generated CSS. Right now, both sides are the same. The Less language is actually a superset of CSS, meaning CSS is valid Less and will compile to itself.

Sanjeeb SapkotaPosted Sep 21, 2016, 3:49 AM
Wow nice article.
Ramesh MaruthiPosted Oct 6, 2014, 4:53 PM
ram dungar no need of any license :)
ram dungarPosted Oct 6, 2014, 4:14 PM
Do we need license for bootstrap in asp.net MVC 4 ??
Mahesh ChandPosted Jul 29, 2014, 12:15 AM
OK got it. Thanks!
Chris EarglePosted Jul 29, 2014, 12:13 AM
It's a general purpose front-end framework released under the Apache license by Twitter in 2011. It's now under the MIT license.
Mahesh ChandPosted Jul 28, 2014, 11:37 PM
Good work, Chris. Why name Twitter Bootstrap? Does it apply for twitter apps only?
Former memberPosted Jul 28, 2014, 10:10 AM
Nice article !