Book description
HTML5 Programming for ASP.NET Developers teaches you to harness the power and flexibility of HTML5 in your ASP.NET Web Forms and ASP.NET MVC applications. Focusing on the programmable features of HTML5 that will be most useful to you as an ASP.NET developer, this book will take you straight to the heart of what you can get out of this new technology.
HTML5 is an emerging web standard that has received a great deal of attention from browser companies and the developer community, encompassing HTML, JavaScript enhancements and CSS3 specifications. But HTML5 isn't just about markup. A major part of HTML5 is its programmable features and APIs, which make up the core of this book..
HTML5 Programming for ASP.NET Developers will show you how to:
Add interactivity and media to your sites using the Canvas and Audio and Video APIs.
Make your web applications work offline, understand client side storage options using Web Storage, and work with local files using the File API.
Use the Communication API and Web Sockets for easier communication between server and client.
Other topics include multithreading with Web Workers, understanding the new input types, using Geolocation, and enhancing your web forms and views with CSS3. All major browsers already support HTML5 to varying degrees and are aggressively working to provide full-fledged standardized support. Start using HTML5 in your projects today, and build future-ready web applications that take advantage of the exciting features that HTML5 has to offer.
What you'll learn
Use Canvas, Audio-Video, Web Storage, History API, File API, Web Workers, Web Sockets, Geolocation and more in ASP.NET
Illustrates HTML5 feature utilization in both Web Forms and MVC applications
Use JavaScript and jQuery to communicate between HTML5 and ASP.NET server side code
Learn to use HTML5 in Visual Studio
Learn to style web forms and views with CSS3
Develop cross-browser, future-ready web applications
Who this book is for
Whether you've worked on a few small projects, or been working with ASP.NET and ASP.NET MVC for some time, this book will get you up-and-running with HTML5 so you can make it a part of your daily toolkit. If you are comfortable with creating Web Forms and MVC projects, and you care about staying at the cutting edge of the latest web standards and technologies, this book is for you.
Table of contents
- Titlepage
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Overview of HTML5 and ASP.NET 4.5
- Chapter 2: Overview of jQuery
- Chapter 3: Working with Audio and Video
- Chapter 4: Drawing with the Canvas
-
Chapter 5: Working with Forms and Controls
- Understanding HTML Forms in ASP.NET
- HTML5 Controls
- Using HTML5-Specific Input Types
- Other Validation Attributes
- Performing Custom Validations
- HTML5 Input Types and ASP.NET Validation Techniques
- Customizing Validation Messages
- Other Improvements to the <input> Element
- Designing an Employee Data Form
- Designing a User Registration Form
- Summary
- Chapter 6: Using History API and Custom Data Attributes
-
Chapter 7: Storing Data in Web Storage
- Overview of Web Storage
- Session Storage and Local Storage Objects
- Using the sessionStorage and localStorage Objects
- Storing Numbers, Dates, and Objects
- Session Storage and Local Storage Events
- Clearing Web Storage Manually
- Passing Data from Web Storage to the Server
- An Example of Using Local Storage in a Survey Form
- Security Considerations for Web Storage
- Summary
-
Chapter 8: Developing Offline Web Applications
- When to Use Offline Applications
- HTTP Caching and Offline Applications
- Building an Offline Application
- Creating a Cache Manifest
- Referring to the Cache Manifest in Web Forms and Views
- Configuring IIS to Recognize the Cache Manifest File
- Testing an Offline Application
- Going Online Using AJAX
- Updating an Offline Application
- Offline Application Events
- ASP.NET MVC Example: the Survey Application Revisited
- Summary
- Chapter 9: Dealing with Local Files Using the File API
-
Chapter 10: Multithreading in Web Pages Using Web Workers
- Overview of Multithreading in Web Pages
- Types of Web Workers
- What Web Workers Can Access and What They Can’t
- Using Web Workers
- Importing External Script Files
- Handling Errors
- Terminating Web Workers
- Monitoring Web Workers During Development
- Using Shared Web Workers
- Communicating With the Server
- Using Web Workers That Require Server-side Data
- Summary
- Chapter 11: Using the Communication API and Web Sockets
-
Chapter 12: Finding Location with the Geolocation API
- Overview of the Latitude and Longitude Coordinate System
- Sources of Location Information
- The Geolocation API
- Using the Geolocation API to obtain User’s Location
- Using the Geolocation API with Mapping Applications
- Using the Geolocation API to Present Location-Specific Data
- Tracking Movement Using the Geolocation API
- Summary
- Chapter 13: Styling Web Forms and Views with CSS3
- Appendix A: HTML5 Learning Resources
- Index
Product information
- Title: HTML5 Programming for ASP.NET Developers
- Author(s):
- Release date: November 2012
- Publisher(s): Apress
- ISBN: 9781430247197
You might also like
book
HTML5 for .NET Developers
HTML5 for .NET Developers teaches professional software engineers how to integrate the latest HTML5 APIs and …
video
Beginning ASP.NET
ASP.NET is a web framework that helps developers create dynamic web applications and services.This course will …
book
Jumping from ASP to ASP.NET
This Wrox Blox introduces you to Visual Web Developer Express 2008 (think of this like Web …
book
Professional ASP.NET MVC 4
An outstanding author team presents the ultimate Wrox guide to ASP.NET MVC 4 Microsoft insiders join …