Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap Nuget Package

Anyone recommending a Nuget package for Twitter Bootstrap for an ASP.NET MVC 4 application? I'm not too crazy about what's out there at nuget.org. What are you using?

like image 895
Radu Grama Avatar asked Jul 14 '12 14:07

Radu Grama


People also ask

How do I add bootstrap to Visual Studio?

Installing Bootstrap Bundle This plugin can be downloaded from Visual Studio itself. Just go to Tools, then Extensions and Updates > Online and search for Bootstrap Bundle. Select the plug-in and hit download then install.

What is NuGet package in MVC?

NuGet is a Package management system for Visual Studio. It makes it easy to add, update and remove external libraries in our application. Syncfusion publishing all ASP.NET MVC NuGet packages in nuget.org.

What is NuGet package in C#?

Put simply, a NuGet package is a single ZIP file with the . nupkg extension that contains compiled code (DLLs), other files related to that code, and a descriptive manifest that includes information like the package's version number.


1 Answers

The best way to know which one to use, is to look at the package content.

Check this github repository by sirkirby: https://github.com/sirkirby/twitter-bootstrap-nuget

  • You will find "Twitter.Bootstrap", and this is the most downloaded Nuget Package for bootstrap.. you just find the normal basic bootstrap css/js/image files and the package direct it to Content folder. (details here in the repository > twitter.Bootstrap/Twitter.Bootstrap.nuspec).

installing "Twitter.Bootstrap" = downloading the bootstrap files from the official website and adding them to your web app.

  • Also you will find "Twitter.Bootstrap.MVC", it will just add couple of lines to the "BundleConfig.cs" file so that Upon installation it adds bundling and minification support for easy integration into your shared layouts and views. and this package depends on the previous package.

installing "Twitter.Bootstrap.MVC" = downloading the bootstrap files from the official website and adding them to your web app + adding references for bundling and minification.

  • If you need to have Bootstrap with .LESS Files instead of .CSS, install "Twitter.Bootstrap.Less" package.

--

you can check all other NuGet Packages the same way we just did.

like image 167
alaasdk Avatar answered Sep 19 '22 05:09

alaasdk