TwitterBootstrapMVC
Fluent implementation of ASP.NET-MVC HTML helpers for Twitter Bootstrap.
Bootstrap 4 Notice
With the SPAs coming into the world of the web, and the release of MVC6, which suggests use of TagHelpers instead of HtmlHelpers, the adoption for TwitterBootstrapMvc has significantly dropped. There is just not enough demand for it anymore to justify spending time for the Bootstrap 4 upgrade, thus support for Bootstrap 4 is not planned anymore.
This project aims to help .NET MVC developers to write twitter bootstrap related code faster. If you'd like a jump start, watch this 6 minutes video explaining what TwitterBootstrapMVC does.
!IMPORTANT: This version of the video does not have all the latest features including support for Twitter Bootstrap 3. I've continued working on this project in a commercial version, the documentation for which you can see at TwitterBootstrapMVC.com. However, I'm leaving the code for it here for the benefit of the community.
Documentation:
Visit TwitterBootstrapMVC.com to see all the relevant information about this library.
NuGet package package ID: TwitterBootstrapMVC
Known Issue: You might get the following error when installing TwitterBootstrapMVC using NuGet:
error: could not install package 'portable.licensing 1.1.0' you are trying to install this package
into a project that targets '.netframework, version=v4.0', but the package does not contain any assembly
references that are compatible with that framework
In order to fix it, make sure you have latest NuGet since PCL support was added in NuGet 2.5 or 2.5.*
Submitting Issues:
- Include your current code that is relevant to your situation. That probably will be code from controller, model and a view.
- Be sure to include html that you are looking for.
- Provide link to Bootstrap docs if you think that BMVC does not have support for some of Bootstrap's functionality
- Be sure to describe clearly what does not work and what do you expect to get.