SlideShare una empresa de Scribd logo
1 de 13
Build Responsive Websites
with Visual Studio 2013 and Bootstrap 3.0
Alek Davis
Intel Corporation
Agenda
Summary
 The absolute minimum you need to know to build responsive websites using
Visual Studio 2013, Bootstrap 3.0, and other popular open-source tools and
frameworks
Intro
 Trends, challenges, goals
Tools
 Visual Studio 2013, extensions, packages
 Bootstrap 3.0; LESS; ELMAH, Modernizr, Initializr, etc; fonts
Demo
 Project structure, page layout, elements, branding, functionality, performance
2
Current state of web development
Summary
 Same problems, more and better tools, no perfect solutions
Challenges
 IE browser wars, form factors (big and small, touch), HTML5, CSS3, baby
boomers
Trends
 Larger fonts, minimalism, responsive design, adaptive page layout, end of
Flash, rise of JavaScript, new frameworks, Bootstrap
 See also Designing A Website For 2014 and Web Design Trends for 2014
Goals
 USE industry standards and popular frameworks to BUILD
functional, efficient, and responsive website that are easy to MAINTAIN and
upgrade
3
Visual Studio 2013
What’s new?
 Minor IDE improvements (color is back, peek definition [Alt+F12])
 TFS 2010 or newer
 Bootstrap and other frameworks included
 Lots of magic (ScriptManager, LESS semi-support, friendly URLs)
See also
 Difference between Visual studio 2012 and Visual studio 2013
 ASP.NET features in New Project Templates in Visual Studio 2013 explains
purpose of project packages
4
Visual Studio extensions
Required
 Web Essentials: compiles LESS files, bundles/minifies CSS/JavaScrip
 Visual Studio Spell Checker: shows spelling errors
Recommended
 SlowCheetah: transforms web.config files on build (requires a project file modification)
 StopOnFirstBuildError: stops solution build on first error
Optional
 GhostDoc auto-generates XML comments
 Microsoft Visual Studio Team Foundation Server 2013 Power Tools: Team Explorer enhancements
 Regex Tester: tests regular expressions from the IDE
 jQuery Code Snippets: increases productivity
 Code Alignment: aligns code using different algorithms
 CodeMaid: helps working with code
 Productivity Power Tools 2013: enhances IDE
 Indent Guides: improves code readability
5
NuGet packages
Essential
 ELMAH (Error Logging Modules and Handlers)
 See also related packages
6
Bootstrap 3.0
Basics
 HTML5 + JavaScript + CSS3 for building responsive websites
 Mobile first design (pros and cons)
 Page scaffolding (xs (480px), sm (768px), md (992px), lg (1200px))
 Components (navigation, modal dialogs, menus, grids, etc)
 Pros and cons (popularity, customization, complexity, bugs and features,
dependencies)
Source
 Bootstrap home page
7
Bootstrap 3.0 (continued)
Dependencies
 jQuery
Companions
 Themes are optional
 Glyphicons font not needed (use FontAwesome [compare to Glyphicons])
 Respond.js for IE8 and IE9 (+ extra code)
 Initializr template generator
 Modernizr feature detector (included by Initializr)
 HTML4Shi(m|v) HTML5 tag recognition for pre-IE9 (included by Modernizr)
8
Bootstrap 3.0 (continued)
Customization
 Online (pros and cons)
 Use custom CSS (must follow the Bootstrap CSS)
 Use Bootstrap LESS as-is (or customize)
 See also:
 Twitter Bootstrap Customization Best Practices
9
Bootstrap 3.0 (continued)
Learning
 Better UI/UX with Bootstrap: A Developer's Primer video (50 min)
 Learn Twitter Bootstrap in 2 Hours video tutorials by easydevtuts
 Code a Responsive Website with Bootstrap 3 video tutorials by Brad Hussey
 Twitter Bootstrap Tutorial video tutorials by Creativity Tuts
 Responsive Web Design With Bootstrap video tutorials by Coder's Guide
 More...
Resources
 The big badass list of useful Twitter Bootstrap resources
10
LESS (Leaner CSS)
Overview
 LESS home page
 CSS preprocessor syntax
 Compiled to CSS on server or client
 Alternative to SASS
Features
 Variables, mixins, functions, operations, nesting, imports, and more...
Visual Studio integration
 Web Essentials extension (compiles LESS on save)
11
ELMAH (Error Logging Modules and Handlers)
Purpose
 Automatic or programmatic logging of error information
 Error log UI
Setup
 Install primary NuGet package
 Install error log type-specific NuGet package (e.g. SQL Server)
 Configure error log settings in the web.config file
 Define admin access rules (must turn SSL on when not using integrated
Windows authentication)
 Adjust configuration settings (e.g. for page not found -- AKA 404 -- errors)
12
Demo
Project
 Structure (folders, etc)
 Bundles (styles and scripts)
 Transformations (config files)
 CDN (failover)
 Exception handling
Fonts
 Font Awesome
 Google fonts
 Adobe Edge fonts
 Open Sans (see also)
Layout
 Sticky footer (see explanation)
13

Más contenido relacionado

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 

Último (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 

Destacado

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destacado (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Build responsive websites with Visual Studio 2013 and Bootstrap 3.0

  • 1. Build Responsive Websites with Visual Studio 2013 and Bootstrap 3.0 Alek Davis Intel Corporation
  • 2. Agenda Summary  The absolute minimum you need to know to build responsive websites using Visual Studio 2013, Bootstrap 3.0, and other popular open-source tools and frameworks Intro  Trends, challenges, goals Tools  Visual Studio 2013, extensions, packages  Bootstrap 3.0; LESS; ELMAH, Modernizr, Initializr, etc; fonts Demo  Project structure, page layout, elements, branding, functionality, performance 2
  • 3. Current state of web development Summary  Same problems, more and better tools, no perfect solutions Challenges  IE browser wars, form factors (big and small, touch), HTML5, CSS3, baby boomers Trends  Larger fonts, minimalism, responsive design, adaptive page layout, end of Flash, rise of JavaScript, new frameworks, Bootstrap  See also Designing A Website For 2014 and Web Design Trends for 2014 Goals  USE industry standards and popular frameworks to BUILD functional, efficient, and responsive website that are easy to MAINTAIN and upgrade 3
  • 4. Visual Studio 2013 What’s new?  Minor IDE improvements (color is back, peek definition [Alt+F12])  TFS 2010 or newer  Bootstrap and other frameworks included  Lots of magic (ScriptManager, LESS semi-support, friendly URLs) See also  Difference between Visual studio 2012 and Visual studio 2013  ASP.NET features in New Project Templates in Visual Studio 2013 explains purpose of project packages 4
  • 5. Visual Studio extensions Required  Web Essentials: compiles LESS files, bundles/minifies CSS/JavaScrip  Visual Studio Spell Checker: shows spelling errors Recommended  SlowCheetah: transforms web.config files on build (requires a project file modification)  StopOnFirstBuildError: stops solution build on first error Optional  GhostDoc auto-generates XML comments  Microsoft Visual Studio Team Foundation Server 2013 Power Tools: Team Explorer enhancements  Regex Tester: tests regular expressions from the IDE  jQuery Code Snippets: increases productivity  Code Alignment: aligns code using different algorithms  CodeMaid: helps working with code  Productivity Power Tools 2013: enhances IDE  Indent Guides: improves code readability 5
  • 6. NuGet packages Essential  ELMAH (Error Logging Modules and Handlers)  See also related packages 6
  • 7. Bootstrap 3.0 Basics  HTML5 + JavaScript + CSS3 for building responsive websites  Mobile first design (pros and cons)  Page scaffolding (xs (480px), sm (768px), md (992px), lg (1200px))  Components (navigation, modal dialogs, menus, grids, etc)  Pros and cons (popularity, customization, complexity, bugs and features, dependencies) Source  Bootstrap home page 7
  • 8. Bootstrap 3.0 (continued) Dependencies  jQuery Companions  Themes are optional  Glyphicons font not needed (use FontAwesome [compare to Glyphicons])  Respond.js for IE8 and IE9 (+ extra code)  Initializr template generator  Modernizr feature detector (included by Initializr)  HTML4Shi(m|v) HTML5 tag recognition for pre-IE9 (included by Modernizr) 8
  • 9. Bootstrap 3.0 (continued) Customization  Online (pros and cons)  Use custom CSS (must follow the Bootstrap CSS)  Use Bootstrap LESS as-is (or customize)  See also:  Twitter Bootstrap Customization Best Practices 9
  • 10. Bootstrap 3.0 (continued) Learning  Better UI/UX with Bootstrap: A Developer's Primer video (50 min)  Learn Twitter Bootstrap in 2 Hours video tutorials by easydevtuts  Code a Responsive Website with Bootstrap 3 video tutorials by Brad Hussey  Twitter Bootstrap Tutorial video tutorials by Creativity Tuts  Responsive Web Design With Bootstrap video tutorials by Coder's Guide  More... Resources  The big badass list of useful Twitter Bootstrap resources 10
  • 11. LESS (Leaner CSS) Overview  LESS home page  CSS preprocessor syntax  Compiled to CSS on server or client  Alternative to SASS Features  Variables, mixins, functions, operations, nesting, imports, and more... Visual Studio integration  Web Essentials extension (compiles LESS on save) 11
  • 12. ELMAH (Error Logging Modules and Handlers) Purpose  Automatic or programmatic logging of error information  Error log UI Setup  Install primary NuGet package  Install error log type-specific NuGet package (e.g. SQL Server)  Configure error log settings in the web.config file  Define admin access rules (must turn SSL on when not using integrated Windows authentication)  Adjust configuration settings (e.g. for page not found -- AKA 404 -- errors) 12
  • 13. Demo Project  Structure (folders, etc)  Bundles (styles and scripts)  Transformations (config files)  CDN (failover)  Exception handling Fonts  Font Awesome  Google fonts  Adobe Edge fonts  Open Sans (see also) Layout  Sticky footer (see explanation) 13