HTML5 for .NET Developers
Single page web apps, JavaScript, and semantic markup
Jim Jackson II and Ian Gilman
Foreword by Scott Hanselman
  • November 2012
  • ISBN 9781617290435
  • 416 pages
  • printed in black & white

Speaks directly to the interests and concerns of the .NET developer.

From the Foreword by Scott Hanselman, Microsof

HTML5 for .NET Developers teaches professional software engineers how to integrate the latest HTML5 APIs and semantic markup into rich web applications using JavaScript, ASP.NET MVC, and WCF. Written from the .NET perspective, this book is full of practical applications and ways to connect the new web standards with your existing development practices

Table of Contents detailed table of contents




about this book

about the cover illustration

1. HTML5 and .NET

1.1. New toys for developers thanks to HTML5

1.2. HTML5 applications end-to-end

1.3. Hello World in HTML5

1.4. Summary

2. A markup primer: classic HTML, semantic HTML, and CSS

2.1. Classic and semantic HTML markup: what’s the difference?

2.2. Basic structural elements of all HTML tags

2.3. Semantic HTML: The semantic blueprint

2.4. Styling HTML5: CSS basics

2.5. Summary

3. Audio and video controls

3.1. Building a site to play audio and video

3.2. Audio and video tags

3.3. Controlling audio and video playback with JavaScript

3.4. Updating media types for open source content

3.5. Summary

3.6. Complete code listings

4. Canvas

4.1. Canvas quick-start

4.2. Creating and manipulating shapes, lines, images, and text

4.3. Animating and adding special effects to canvas images

4.4. Summary

4.5. Complete code listing

5. The History API: Changing the game for MVC sites

5.1. Building a History-ready MVC site

5.2. Using HTML5 History

5.3. Two more small steps…​

5.4. Summary

5.5. The complete JavaScript library

6. Geolocation and web mapping

6.1. "Where am I?": A (brief) geographic location primer

6.2. Building a geolocation application

6.3. Using the Geolocation API

6.4. Building a service to find address information

6.5. Summary

6.6. Complete code listings

7. Web workers and drag and drop

7.1. Getting started: Building an app that integrates Drag and Drop and Web Workers

7.2. Implementing drag and drop in JavaScript

7.3. HTML5 Web Workers

7.4. Summary

7.5. The complete code listings

8. Websockets

8.1. HTTP and TCP—a quick primer

8.2. Building a Websockets chat application

8.3. Using Node.js as a TCP server

8.4. Summary

8.5. The complete code listings

9. Local storage and state management

9.1. A LocalStorage example application

9.2. Structuring a JavaScript library to maintain state

9.3. Using the LocalStorage API

9.4. Adding UI elements to complete the application

9.5. Other uses for LocalStorage

9.6. Summary

9.7. The complete code listings

10. Offline web applications

10.1. Building an offline HTML5 application

10.2. The manifest file

10.3. Offline feature detection and event binding

10.4. The ApplicationCache object

10.5. Adding state management and displaying connected status

10.6. Building the server side of an offline application

10.7. Summary

10.8. The complete code listings

Appendix A: A JavaScript overview

Appendix B: Using ASP.NET MVC

Appendix C: Installing IIS Express 7.5


About the Technology

A shift is underway for Microsoft developers—to build web applications you'll need to integrate HTML5 features like Canvas-based graphics and the new JavaScript-driven APIs with familiar technologies like ASP.NET MVC and WCF. This book is designed for you.

About the book

HTML5 for .NET Developers teaches you how to blend HTML5 with your current .NET tools and practices. You'll start with a quick overview of the new HTML5 features and the semantic markup model. Then, you'll systematically work through the JavaScript APIs as you learn to build single page web apps that look and work like desktop apps. Along the way, you'll get tips and learn techniques that will prepare you to build "metro-style" applications for Windows 8 and WP 8.

What's inside

  • HTML5 from a .NET perspective
  • Local storage, threading, and WebSockets
  • Using JSON-enabled web services
  • WCF services for HTML5
  • How to build single page web apps

About the reader

This book assumes you know your way around the .NET framework. No prior HTML5 experience is required.

About the authors

Jim Jackson is a software consultant and project lead specializing in HTML5-driven media. Ian Gilman is a professional developer passionate about open technologies and lively user interfaces.

combo $44.99 pBook + eBook + liveBook
eBook $35.99 pdf + ePub + kindle + liveBook

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks