
Bootstrap for ASP.NET MVC.
Title:
Bootstrap for ASP.NET MVC.
Author:
Westhuizen, Pieter van der.
ISBN:
9781783987290
Personal Author:
Physical Description:
1 online resource (229 pages)
Contents:
Bootstrap for ASP.NET MVC -- Table of Contents -- Bootstrap for ASP.NET MVC -- Credits -- About the Author -- Acknowledgments -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Getting Started with ASP.NET MVC and Bootstrap -- The Bootstrap distribution -- Bootstrap style sheets (the css folder) -- Bootstrap fonts (the fonts folder) -- Bootstrap JavaScript files (the js folder) -- The Bootstrap folder structure -- Using Bootstrap with a site created with the standard Visual Studio project template -- Examining the default MVC project layout -- The Content folder -- The fonts folder -- The Scripts folder -- Creating an empty ASP.NET MVC site and adding Bootstrap manually -- Adding the Bootstrap style sheets -- Adding the Bootstrap fonts -- Adding the Bootstrap JavaScript files -- Creating the site Layout file -- Creating a home controller with a Bootstrap-themed view -- Adding Bootstrap files using NuGet -- Adding the Bootstrap NuGet package using the dialog -- Adding the Bootstrap NuGet package using the Package Manager Console -- Improving your site performance with bundling and minification -- Adding bundling to your Bootstrap project -- Including bundles in your ASP.NET layout -- Testing bundling and minification -- Summary -- 2. Using Bootstrap CSS and HTML Elements -- The Bootstrap grid system -- Bootstrap grid options -- Bootstrap HTML elements -- Bootstrap tables -- Styling Bootstrap tables -- Bootstrap contextual table classes -- Bootstrap buttons -- Form layout and elements -- Horizontal forms -- Vertical/Basic forms.
Inline forms -- Bootstrap validation styles -- Creating editor templates for primitive types -- Creating editor templates for nonprimitive types -- Bootstrap image classes -- Summary -- 3. Using Bootstrap Components -- The Bootstrap navigation bar -- List groups -- Badges -- The media object -- Page headers -- Breadcrumb -- Pagination -- Input groups -- Button dropdowns -- Alerts -- Progress bars -- The basic progress bar -- Contextual progress bars -- Striped and animated progress bars -- Dynamically updating the progress bar's percentage -- Summary -- 4. Using Bootstrap JavaScript Plugins -- Data attributes versus the programmatic API -- Cascading dropdowns -- Modal dialogs -- Tabs -- Tooltips -- Popovers -- The accordion component -- The carousel component -- Summary -- 5. Creating ASP.NET MVC Bootstrap Helpers -- Built-in HTML helpers -- Creating a custom helper -- Using a helper in a view -- Creating helpers using static methods -- Using the static method helper in a view -- Creating helpers using extension methods -- Using the extension method helper in a view -- Creating fluent HTML helpers -- Using the fluent HTML helper in a view -- Creating self-closing helpers -- Using the self-closing helper in a view -- Summary -- 6. Creating T4 Templates to Scaffold Bootstrap Views -- An overview of scaffolding -- T4 templates -- T4 tools -- The T4 syntax -- Customizing the generated code for controllers -- Customizing the generated code for views -- Creating a custom scaffolder extension -- Summary -- 7. Converting a Bootstrap HTML Template into a Usable ASP.NET MVC Project -- Working with prebuilt HTML templates -- Creating the ASP.NET MVC project -- Creating the master layout -- Adding a view for the home controller -- Adding the menu plugin library -- Adding different page views -- Adding charts to your views -- Summary.
8. Using the jQuery DataTables Plugin with Bootstrap -- jQuery DataTables -- Adding DataTables to your ASP.NET MVC project -- Using the DataTables NuGet package -- Using the CDN -- Adding Bootstrap styling to DataTables -- Loading and displaying data in jQuery DataTables -- DataTables extensions -- The ColReorder extension -- The ColVis extension -- The TableTools extension -- Summary -- 9. Making Things Easier with the TwitterBootstrapMVC Library -- The TwitterBootstrapMVC library -- Including TwitterBootstrapMVC in your project -- Adding TwitterBootstrapMVC using NuGet -- Add TwitterBootstrapMVC using the .dll file -- Using the TwitterBootstrapMVC helpers -- Forms and inputs -- Inputs -- Forms -- Buttons and links -- Accordions and panels -- Tabs and modals -- Summary -- A. Bootstrap Resources -- Themes -- Add-ons -- Editors and generators -- Index.
Abstract:
If you are an ASP.NET MVC developer and would like to know how to incorporate Bootstrap into your projects, then this book is invaluable to you. Developers with entry-level experience of ASP.NET MVC development and limited experience with Bootstrap will also benefit from this book.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Subject Term:
Genre:
Electronic Access:
Click to View