Getting Started

1. Download the Wojdav Bootstrap Mvc package from the Nuget package manager.

Downloaded Wojdav Bootstrap Mvc from Nuget Package Manager

2. In .NET Core MVC add the Wojdav_Bootstrap_Mvc namespace to the Views/_ViewImports.cshtml file.

                    @using Wojdav_Bootstrap_Mvc

2.A. In .NET MVC 5 add the Wojdav_Bootstrap_Mvc namespace to the Views/Web.config file.

                        <add namespace="System.Web.Mvc" />
                        <add namespace="System.Web.Mvc.Ajax" />
                        <add namespace="System.Web.Mvc.Html" />
                        <add namespace="System.Web.Optimization"/>
                        <add namespace="System.Web.Routing" />
                        <add namespace="WebApplication" />
                        <add namespace="Wojdav_Bootstrap_Mvc" />

3. Start using varrious capabilities of the Wojdav Bootstrap Mvc library in views.

                    @Html.WB().Alert("MyAlert", AlertStyle.Info)
                    @Html.WB().Button("Submit", ButtonStyle.OutlinePrimary)
                        Html.WB().Button("Submit", ButtonStyle.OutlineSuccess))
Home.cshtml See Component List