Simply Stunning. Today’s users expect beautiful apps in every part of their lives, from work to home. Now, with +L],_WYLZZ[VVSZ`V\JHUHWWS`ZVWOPZ[PJH[LK[OLTLZHUKPUJVYWVYH[LLSLNHU[6MÄJLPUZWPYLK controls into your designs. DXv2 delivers the tools you need to inspire and be inspired. +V^USVHK[OLKH`MYLL[YPHS[VL_WLYPLUJL[OLUL_[NLULYH[PVUVMKL]LSVWLY productivity tools at www.DevExpress.com Untitled-14 1 12/9/11 4:18 PM THE MICROSOFT JOURNAL FOR DEVELOPERS MARCH 2012 VOL 27 NO 3 Building the Internet of Things COLUMNS Torsten Grabs and Colin Miller .................................................. 30 THE CUTTING EDGE Build a Progress Bar with SignalR Develop Hybrid Native and Mobile Web Apps Dino Esposito, page 6 Shane Church .......................................................................... 40 DATA POINTS Create a Continuous Client Using Portable Entity Framework Code First and DbContext FAQs Class Libraries Julie Lerman, page 14 David Kean .............................................................................. 48 FORECAST: CLOUDY Exploring Cloud Architecture New Concurrency Features in Visual C++ 11 Joseph Fultz, page 18 Diego Dagum .......................................................................... 56 THE WORKING Windows Phone Data Binding PROGRAMMER Talk to Me, Part 2: ELIZA Jesse Liberty ............................................................................ 62 Ted Neward, page 74 Adding HTML5 Drag and Drop to CLIENT INSIGHT Knockout’s Built-in Bindings SharePoint Lists for HTML and JavaScript Andrey Markeev ....................................................................... 68 John Papa, page 78 TOUCH AND GO Streaming Audio in Windows Phone Charles Petzold, page 84 DON’T GET ME STARTED Touch, Not the Mouse David Platt, page 88 Write Once, Experience Many check out infragistics.com/jquery NetAdvantage® for jQuery TREE Simplify the look of hierarchical data, while offering the BUSINESS CHARTING experience, design Combine interactive and functionality Outlook style grids with your users will love! rich business charting to deliver a complete portable solution. Infragistics Sales 800 231 8588 • Infragistics Europe Sales +44 (0) 800 298 9055 • Infragistics India +91 80 4151 8042 • @infragistics Copyright 1996-2011 Infragistics, Inc. All rights reserved. Infragistics and NetAdvantage are registered trademarks of Infragistics, Inc. The Infragistics logo is a trademark of Infragistics, Inc. Untitled-5 2 10/12/11 1:24 PM HTML EDITOR Give your users a powerful HTML editing experience by incorporating the COMBO jQuery WYSIWYG The fully featured editing tool. combo box control HIERARCHICAL GRID offers intuitive An expandable data grid auto-suggest, that presents multiple auto-complete and parent-child relationships auto-filtering built in. VIDEO PLAYER is the backbone of your When a user finds data application. what they want to watch, our HTML5 video player adds streaming video right into your own apps. Untitled-5 3 10/12/11 1:24 PM MARCH 2012 VOLUME 27 NUMBER 3 magazine MITCH RATCLIFFE Director KIT GEORGE Editorial Director/[email protected] PATRICK O’NEILL Site Manager MICHAEL DESMOND Editor in Chief/[email protected] DAVID RAMEL Technical Editor SHARON TERDEMAN Features Editor WENDY GONCHAR Group Managing Editor KATRINA CARRASCO Associate Managing Editor SCOTT SHULTZ Creative Director JOSHUA GOULD Art Director CONTRIBUTING EDITORS Dino Esposito, Joseph Fultz, Kenny Kerr, Julie Lerman, Dr. James McCaffrey, Ted Neward, Charles Petzold, David S. Platt Henry Allain President, Redmond Media Group Doug Barney Vice President, New Content Initiatives Michele Imgrund Sr. Director of Marketing & Audience Engagement Tracy Cook Director of Online Marketing ADVERTISING SALES: 508-532-1418/[email protected] Matt Morollo VP/Group Publisher Chris Kourtoglou Regional Sales Manager William Smith National Accounts Director Danna Vedder Microsoft Account Manager Jenny Hernandez-Asandas Director, Print Production Serena Barnes Production Coordinator/[email protected] Neal Vitale President & Chief Executive Offi cer Richard Vitale Senior Vice President & Chief Financial Offi cer Michael J. Valenti Executive Vice President Christopher M. Coates Vice President, Finance & Administration Erik A. Lindgren Vice President, Information Technology & Application Development David F. Myers Vice President, Event Operations Jeffrey S. Klein Chairman of the Board MSDN Magazine (ISSN 1528-4859) is published monthly by 1105 Media, Inc., 9201 Oakdale Avenue, Ste. 101, Chatsworth, CA 91311. Periodicals postage paid at Chatsworth, CA 91311-9998, and at additional mailing offi ces. Annual subscription rates payable in US funds are: U.S. $35.00, International $60.00. Annual digital subscription rates payable in U.S. funds are: U.S. $25.00, International $25.00. Single copies/back issues: U.S. $10, all others $12. Send orders with payment to: MSDN Magazine, P.O. Box 3167, Carol Stream, IL 60132, email [email protected] or call (847) 763-9560. POSTMASTER: Send address changes to MSDN Magazine, P.O. Box 2166, Skokie, IL 60076. Canada Publications Mail Agreement No: 40612608. Return Undeliverable Canadian Addresses to Circulation Dept. or XPO Returns: P.O. Box 201, Richmond Hill, ON L4B 4R5, Canada. Printed in the U.S.A. Reproductions in whole or part prohibited except by written permission. Mail requests to “Permissions Editor,” c/o MSDN Magazine, 4 Venture, Suite 150, Irvine, CA 92618. Legal Disclaimer: The information in this magazine has not undergone any formal testing by 1105 Media, Inc. and is distributed without any warranty expressed or implied. Implementation or use of any information contained herein is the reader’s sole responsibility. While the information has been reviewed for accuracy, there is no guarantee that the same or similar results may be achieved in all environments. Technical inaccuracies may result from printing errors and/or new developments in the industry. Corporate Address: 1105 Media, Inc., 9201 Oakdale Ave., Ste 101, Chatsworth, CA 91311, www.1105media.com Media Kits: Direct your Media Kit requests to Matt Morollo, VP Publishing, 508-532-1418 (phone), 508-875-6622 (fax), [email protected] Reprints: For single article reprints (in minimum quantities of 250-500), e-prints, plaques and posters contact: PARS International, Phone: 212-221-9595, E-mail: [email protected], www.magreprints.com/ QuickQuote.asp List Rental: This publication’s subscriber list, as well as other lists from 1105 Media, Inc., is available for rental. For more information, please contact our list manager, Merit Direct. Phone: 914-368-1000; E-mail: [email protected]; Web: www.meritdirect.com/1105 All customer service inquiries should be sent to [email protected] or call 847-763-9560. Printed in the USA Untitled-1 1 1/30/12 3:57 PM EDITOR’S NOTE MICHAEL DESMOND What You Want Over the past two months in this space I’ve written about Charles Obviously a lot of this traffi c is being driven by searches, links Petzold and John Papa, two longtime MSDN Magazine columnists from referring newsletters and Web sites, and who knows what other who have seen their share of change over their tenures. Petzold, of organic sources. But it’s interesting that a list dominated by broadly course, came on board while developers were still arguing about deployed technologies includes the presence of one very fresh face: the relevance of GUIs. Today, he leads our coverage of cutting-edge HTML5. Despite being published in the second half of 2011, Brandon mobile and touch UI development. Satrom’s feature, “Building Apps with HTML5: What You Need to For Papa, the changes are no less signifi cant. As the man once Know” (August 2011), ranks among the 10 most-read articles over the responsible for our Data Points column, he felt that data access entire year. We’ve seen similarly impressive traffi c for other HTML5- and development had long been neglected by the industry. 10 years related features and columns published over the past several months. later, we’ve experienced a burst of data-oriented advancements in Do these figures mean that there’s little developer interest in the Microsoft .NET Framework space—notably around technolo- articles on contemporary Microsoft platforms such as Windows gies such as LINQ and the Entity Framework—and our coverage Phone and Windows Azure? Not hardly. A glance at average page has scaled to match. More to the point, Papa is arguably the lead- views per article by topic shows that articles on Windows Phone ing authority on Silverlight development. Yet you’ll fi nd him now and Windows Azure published in 2011 actually produce Web writing as much about HTML5, jQuery and JavaScript as you will readership slightly higher than data-oriented articles. about Silverlight and its XAML sibling, Windows Presentation It’s always a challenge to balance coverage of both established and Foundation (WPF). Times change. emerging platforms and technologies in the magazine. Our goal is to And yet, many of the most widely read MSDN Magazine articles ensure that developers are getting insight into the tools and techniques over the past year were written not in 2011, but before 2010. Readers they need to succeed today, even as we introduce them to important on the Web keep returning to articles with titles such as, “WPF Apps new technologies that will defi ne their jobs tomorrow. HTML5 is a with the Model-View-ViewModel Design Pattern” (February 2009), case in point. Microsoft has been vocally supporting
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages94 Page
-
File Size-