Pro HTML5 with Visual Studio 2012

Book description

Pro HTML5 with Visual Studio 2012 is written to help ASP .NET developers make the leap to the inevitable and exciting world of HTML5. The growing HTML5 specifications promises to revolutionize the way web sites are developed with an impressive set of built-in client-side features. The use of HTML5 as a preferred development language in Windows 8, along with growing support from the major browser vendors, is likely to make HTML5 the de-facto standard for all future web development. The number of HTML5-capable phones alone is estimated to top 1 billion by 2013. Many professional web developers who are firmly rooted in the Microsoft toolset such as Visual Studio, Active Server Pages, and .NET are trying to understand how HTML5 fits into their world.

With this book, you'll quickly master the new HTML elements, the improved CSS features, and advanced content including audio, video, and graphic processing. You will also learn how your enterprise applications can benefit from some brand-new technology such as local storage and web sockets. Using practical hands-on demonstrations you will learn all of the really cool features that you can start using now, within your existing ASP .NET applications.

Discover the future of web development with Pro HTML5 with Visual Studio 2012.

  • Illustrates how to integrate the new HTML5 features in an ASP .NET application.

  • Explains how to add active content including video and graphics.

  • Demonstrates the new scripting features such as application cache and local storage.

  • What you'll learn

  • Take advantage of the new browser capabilities from within your ASP applications.

  • Use local storage and other infrastructure improvements.

  • Use the new CSS3 features to create dramatic web sites.

  • Integrate the new HTML5 features with the MVC4 framework.

  • Create mobile friendly web sites.

  • Use canvas and SVG to build some amazing web pages.

  • Who this book is for

    Pro HTML5 with Visual Studio 2012 is for the professional web developer who is familiar with traditional ASP.NET web forms or the relatively new Model View Controller (MVC) framework. It is designed for the web builders who want to take advantage of the new design features or the infrastructure improvement of HTML5. It is geared toward individuals who want the practical, real-world demonstrations and not just a lot of theory.

    Table of contents

    1. Title
    2. Dedication
    3. Contents at a Glance
    4. Contents
    5. About the Authors
    6. About the Technical Reviewer
    7. Acknowledgments
    8. Introduction
    9. Part 1: What is HTML5?
      1. Chapter 1: Before You Begin
        1. Reviewing Web Environment
        2. Exploring HTML5
        3. Choosing a Development Tool
        4. Deciphering Browser Support for HTML5
        5. Summary
    10. Part 2: Using the New HTML5 Features
      1. Chapter 2: ASP.NET Web Forms
        1. Introducing the New Input Types
        2. Exploring the Other Input Types
        3. Using the HTML5Test Web Site
        4. Using the Range Control
        5. Summary
      2. Chapter 3: MVC Web Applications
        1. Introducing ASP.NET MVC4
        2. Adding a Feedback Page
        3. Completing the Feedback Form
        4. Generating Custom HTML
        5. Implementing a RangeControl
        6. Using Open Source Extensions
        7. Adding Literal HTML
        8. Summary
      3. Chapter 4: Cascading Style Sheets
        1. Reviewing Style Syntax
        2. Creating a Web Page
        3. Implementing the Style Rules
        4. Summary
      4. Chapter 5: Scripting Enhancements
        1. Using Query Selectors
        2. Creating the Visual Studio Project
        3. Employing Web Workers
        4. Using Visual Studio Bundling and Minification
        5. Summary
      5. Chapter 6: Mobile Web Applications
        1. Using Emulators
        2. Handling Form Factors
        3. Modifying the Chapter4 Site
        4. Summary
    11. Part 3: Developing with HTML5
      1. Chapter 7: Supporting Older Browsers
        1. Creating the Demo Application
        2. Making Some Simple Changes
        3. Adding More Polyfills
        4. Hiding Unsupported Elements
        5. Summary
      2. Chapter 8: Audio and Video
        1. Using the Audio Element
        2. Building Your Own Controls
        3. Detecting Audio Support
        4. Understanding Video Formats
        5. Using the Video Element
        6. Summary
      3. Chapter 9: Scalable Vector Graphics
        1. Introducing SVG
        2. Using SVG Image Files
        3. Creating an Interactive Map
        4. Styling the State Elements
        5. Adding Animation
        6. Summary
      4. Chapter 10: Canvas
        1. Creating a Chess Board
        2. Modeling the Solar System
        3. Understanding Compositing
        4. Summary
    12. Part 4: Digging Deeper
      1. Chapter 11: Indexed DB
        1. Introducing Indexed DB
        2. Creating the Application
        3. Creating the Database
        4. Drawing the Pieces
        5. Moving the Pieces
        6. Tracking the Captured Pieces
        7. Summary
      2. Chapter 12: Geolocation and Mapping
        1. Understanding Geolocation
        2. Using the Geolocation API
        3. Using Mapping Platforms
        4. Summary
      3. Chapter 13: WebSockets
        1. Understanding WebSockets
        2. Creating a Simple Application
        3. Enhancing the WebSocket Server
        4. Creating the Agent Application
        5. Implementing the Client Application
        6. Testing the Solution
        7. Summary
      4. Chapter 14: Drag and Drop
        1. Understanding Drag and Drop
        2. Creating the Checkers Application
        3. Adding Drag and Drop Support
        4. Enforcing the Game Rules
        5. Using Advanced Features
        6. Summary
    13. Appendix A: Chapter 4 – Sample Content
    14. Appendix B: Chapter 4 – Completed Style
    15. Appendix C: Chapter 14 – Final Code
    16. Index

    Product information

    • Title: Pro HTML5 with Visual Studio 2012
    • Author(s): Mark Collins
    • Release date: September 2012
    • Publisher(s): Apress
    • ISBN: 9781430246381