.NET Framework 4.5
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package WebExtras.Mvc -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package WebExtras.Mvc --version
<PackageReference Include="WebExtras.Mvc" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebExtras.Mvc --version
#r "nuget: WebExtras.Mvc,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WebExtras.Mvc as a Cake Addin
#addin nuget:?package=WebExtras.Mvc&version=

// Install WebExtras.Mvc as a Cake Tool
#tool nuget:?package=WebExtras.Mvc&version=

Provides a set of MVC helper and extension methods for the popular Bootstrap, Gumby and jQuery UI CSS frameworks. Includes other MVC helpers which can be used in core MVC development as well.

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on WebExtras.Mvc:

Package Downloads

Provides a set of MVC helper and extension methods (that depend on the T4MVC templating engine) for the popular Bootstrap, Gumby and jQuery UI CSS frameworks. Includes other MVC helpers which can be used in core MVC development as well.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0-pre20171103 721 11/3/2017 1,116 12/22/2016 1,402 11/3/2016 849 10/28/2016 866 10/28/2016
1.5.0 910 5/3/2016
1.4.0-Beta-1 914 5/21/2014
1.3.2 1,411 4/29/2014
1.3.1 1,119 4/14/2014 893 12/24/2013
1.3.0 887 12/24/2013

The project is now licensed under Apache License v2.0
A major namespace shuffle has taken place for the entire library. While all the old functionality is still available, you will have to update your USING statements accordingly. Both WebExtras.Mvc and WebExtras.Nancy libraries now depend on WebExtras library and as such you must add this library to your project

Recommended: Creation of HTML components should now be done using the HtmlComponent instead of HtmlElement class. HtmlComponent can then be converted to a HtmlElement using the ToHtmlElement() extension method in the WebExtras.Mvc.Html namespace. HtmlElement class is now marked as obsolete and will be removed in the next major release.

- Enh: IBootstrapFormComponent now gives access to the wrapper <DIV> element
- Enh: Added ability to retrieve only specific type of alerts from GetUserAlerts extension method
- Enh: BootstrapConstants => BootstrapSettings
- Enh: JsonNetResult now uses the global JSON serialiser settings set via WebExtrasSettings.SerialiseSettings
- Enh: WebExtrasConstants => WebExtrasSettings, WebExtrasMvcConstants has been merged into WebExtrasSettings
- Enh: Errors on model state can now be ignored using the IgnoreErrors<> extension method
- Enh: Adding EButton.Back as a synonym of EButton.Cancel
- Enh: Adding IHtmlRenderer.PreRender to be able to hook into the rendering pipeline just before the compose phase starts
- Enh: A form component can now have it's value set via IFormComponent.SetValue(...)
- Enh: jQuery dataTables bindings now support adding of plugin options via DatatableSettings.Plugins property. Buttons and ColVis plugins are supported out-of-the-box
- Fix: Fixing a bug in the dropdown creator extension where the selected option was not honoured when the SelectListItem.Selected property was set to true