Bootstrap for ASP.NET MVC.

Saved in:
Bibliographic Details
Author / Creator:Westhuizen, Pieter van der.
Imprint:Packt Publishing, 2014.
Description:1 online resource.
Language:English
Series:Community Experience Distilled
Community experience distilled.
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/11235138
Hidden Bibliographic Details
ISBN:1322075077
9781322075075
9781783987290
1783987294
9781783987283
1783987286
Digital file characteristics:text file
Notes:English.
Print version record.
Summary:Bootstrap, a leading open source frontend framework, takes care of typography, form layouts, and user interface components, allowing a developer to focus on writing code. Integrating ASP.NET's powerful components can further enhance its capabilities. This book guides you through the process of creating an ASP.NET MVC website from scratch using Bootstrap. You will learn about various Bootstrap components as well as techniques to include them in your own projects. The book includes practical examples to show you how to use open source plugins with Bootstrap and ASP.NET MVC and will guide you through building an ASP.NET MVC website using Bootstrap, utilizing layout and user interface components. In the process, you will also learn to build ASP.NET MVC HTML helpers and T4 templates as well as how to use the jQuery DataTables plugin. At the end of this book, you will find some valuable tips and tricks, which will help you in getting the most out of your Bootstrap and ASP.NET MVC integrated website.
Other form:Print version: 9781322075075
Standard no.:9781783987283
Table of Contents:
  • Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 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 manuallyAdding 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.
  • BreadcrumbPagination; 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; Chapter 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; Chapter 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 viewCreating 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; Chapter 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.