SlideShare uma empresa 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

Mais conteúdo relacionado

Último

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Destaque

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
 

Destaque (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