没有合适的资源?快使用搜索试试~ 我知道了~
首页Pro HTML5 with Visual Studio 2015 无水印原版pdf
Pro HTML5 with Visual Studio 2015 英文无水印原版pdf pdf所有页面使用FoxitReader、PDF-XChangeViewer、SumatraPDF和Firefox测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
资源详情
资源评论
资源推荐

Collins
Shelve in:
.NET
User level:
Intermediate
www.apress.com
RELATED
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
Pro HTML5 with Visual
Studio 2015
Pro HTML5 with Visual Studio 2015 is written to help ASP.NET developers make the leap to the
inevitable and exciting world of HTML5. With this book, you’ll quickly master the new HTML
elements, the improved CSS features, and advanced content including audio, video, canvas,
SVG, and drag and drop capabilities. You will also learn how your enterprise applications can
benefit from some brand-new technology such as web workers 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.
HTML5 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 10, 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 2 billion by 2016. 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.
In this book, you’ll learn to:
• Integrate the new HTML5 features with the MVC6 framework
• Take advantage of the new browser capabilities from within your ASP applications
• Use web workers, IndexedDB, and other infrastructure improvements
• Use the new CSS3 features to create dramatic web sites
• Create mobile friendly web sites
• Use canvas and SVG to build some amazing web pages
• Leverage the native browser support for Geolocation, Web Sockets, and drag and
drop capabilities
SOURCE CODE ONLINE
9781484 211489
54999
ISBN 978-1-4842-1148-9

v
Contents at a Glance
About the Author ���������������������������������������������������������������������������������������������������xvii
About the Technical Reviewer ��������������������������������������������������������������������������������xix
Acknowledgments ��������������������������������������������������������������������������������������������������xxi
Introduction ����������������������������������������������������������������������������������������������������������xxiii
■Part I: What is HTML5? ���������������������������������������������������������������������� 1
■Chapter 1: Before You Begin ���������������������������������������������������������������������������������� 3
■Part II: Using the New HTML5 Features �������������������������������������������� 17
■Chapter 2: ASP�NET Web Forms ��������������������������������������������������������������������������� 19
■Chapter 3: MVC Web Applications ����������������������������������������������������������������������� 43
■Chapter 4: Cascading Style Sheets ���������������������������������������������������������������������� 79
■Chapter 5: Scripting Enhancements ������������������������������������������������������������������ 119
■Chapter 6: Mobile Web Applications ������������������������������������������������������������������ 139
■Part III: Digging Deeper ����������������������������������������������������������������� 167
■Chapter 7: Supporting Older Browsers �������������������������������������������������������������� 169
■Chapter 8: Audio and Video ������������������������������������������������������������������������������� 189
■Chapter 9: Scalable Vector Graphics ����������������������������������������������������������������� 209
■Chapter 10: Canvas ������������������������������������������������������������������������������������������� 237

vi
■ Contents at a GlanCe
■Part IV: Advanced Features ������������������������������������������������������������ 271
■Chapter 11: Indexed DB ������������������������������������������������������������������������������������� 273
■Chapter 12: Geolocation and Mapping
�������������������������������������������������������������� 301
■Chapter 13: WebSockets ������������������������������������������������������������������������������������ 319
■Chapter 14: Dr
ag and Drop �������������������������������������������������������������������������������� 367
■Part V: Appendixes ������������������������������������������������������������������������� 395
■Appendix A: Sample Content for Chapter 4 ������������������������������������������������������� 397
■Appendix B: Completed Style for Chapter 4 ������������������������������������������������������ 403
■Appendix C: Final Code for Chapter 14 �������������������������������������������������������������� 409
Index ��������������������������������������������������������������������������������������������������������������������� 417

xxiii
Introduction
HTML5 is such an exciting opportunity for software developers. For a long time, the Web has been the
favorite platform for providing software applications to both external and internal users because of its reach
and ease of deployment and maintenance. The primary limitation has been the client-side support, which
can severely limit the user experience. With the lack of cross-browser standardization, using any of the
advanced features often meant broken pages on older browsers or difficult polyfills.
HTML5 is a game-changer. Not only does it bring browser vendors together with a common set of
specifications, the features included in HTML5 enable web applications to provide a user experience that
rivals even client applications. With mobile devices rapidly jumping on the HTML5 bandwagon, the number
of HTML5 devices is expected to exceed 2 billion in the next year. I have seen the rise of many technologies
and standards that promised to change the future of software development, but the momentum and support
for HTML5 seem unprecedented.
Having said that, we are not quite there yet. Many of the specifications are still in draft form, and
browsers, even current releases of them, do not support all the features that have been agreed upon.
However, there are already enough features that are generally supported by browser vendors to make the
switch to HTML5 attractive. And the future is even more promising.
Who This Book Is For
HTML5 consists of changes in the markup, CSS improvements, and JavaScript enhancements and can
be used with any implementation platform. However, this book presents these new features with the
professional Visual Studio developer in mind. My goal is to answer the question “What would most ASP.NET
developers need to know to incorporate the benefits of HTML5?” The sample applications are written using
Visual Studio 2015, and some of the examples are specific to the ASP.NET platform, including web forms
and MVC 6.
Each chapter covers a different topic, providing both an explanation of how the feature is used and
hand-on exercises that will reinforce the important concepts.
How This Book Is Structured
I’ve split the book into four parts, each going a bit deeper into the more advanced features.
Part 1 provides a quick introduction to web application technologies. This part explains the operating
environment that web developers find themselves in and where the HTML5 umbrella fits in.
Part 2 covers the basics of HTML5, including form development with both traditional web forms and
the MVC model. Chapter 4 provides a really good overview of CSS with a focus on the new features available
in CSS3. This part also demonstrates some of the scripting enhancements in Visual Studio 2015 and includes
discussions on how to use web workers and how to support mobile devices with HTML5.
Part 3 takes this further and demonstrates some of the really cool features including the new audio and
video elements. I then demonstrate the graphics support available using both SVG and canvas. This part also
discusses how to use polyfills to deal with older browsers.
剩余434页未读,继续阅读


















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0