Home > Store > Programming > Windows Programming
Programming .NET Compact Framework 3.5, 2nd Edition
- By Paul Yao, David Durant
- Published Sep 10, 2009 by Addison-Wesley Professional. Part of the Microsoft Windows Development Series series.
- Copyright 2010
- Dimensions: 7 X 9-1/8
- Pages: 744
- Edition: 2nd
- Book
- ISBN-10: 0-321-57358-7
- ISBN-13: 978-0-321-57358-2
Register your product to gain access to bonus material or receive a coupon.
Product Author Bios
Paul Yao is a principal with Enovative Energy Solutions, an energy services business that provides performance tuning services for businesses and nonprofit organizations looking to optimize their energy usage while minimizing their environmental impact. He is coauthor, with David Durant, of the first books published on Windows programming, .NET Compact Framework with C# and .NET Compact Framework with Visual Basic (both from Addison-Wesley) and has contributed to six books on various programming topics. He is founder of The Paul Yao Company (www.paulyao.com) and a founding board member of the Windows Embedded Developers Interest Group (www.we-dig.org).
David Durant is CEO of Durant Associates. David was an early proponent of .NET and is a frequent contributor to industry journals and forums. He is often on the road leading seminars on .NET-based technologies for corporate clients worldwide.
"If you're interested in developing for this burgeoning platform, there is no one better able to get you up-to-speed.”
–From the Foreword by Rob Tiffany, mobility architect, Microsoft
Completely revised and updated for .NET Compact Framework 2.0 and 3.5, Visual Studio 2008, and Windows Mobile Smart Phones, Programming .NET Compact Framework 3.5, Second Edition, teaches you how to write highly effective applications for handheld wireless devices with small screens, limited memory, and finite battery life.
This book is the definitive tutorial and reference for the .NET Compact Framework and Windows Mobile. If you’re interested in developing for this burgeoning platform, there is no one better able to get you up to speed than industry veterans, master programmers, and teachers Paul Yao and David Durant.
With this book you will learn how to
- Use each of the ten API sets available for Windows Mobile; when to use each; and, especially, when to use Win32 and the .NET Compact Framework 2.0 and 3.5
- Write programs that make the most of a Windows Mobile device’s limited battery life
- Efficiently invoke Win32 APIs from the .NET Compact Framework
- Write exceptional, data-driven applications using data binding and .NET controls
- Manage device data with the object store, file I/O, and the registry
- Work with databases using ADO.NET and LINQ
- Synchronize mobile data with remote databases and the remote API
- Make a mobile device work with the Windows Communication Foundation (WCF)
- Create graphical output on Windows Mobile devices
If you want to learn Windows Mobile development but only have limited experience with the .NET Framework, this is the only book you need.
Related Article
iPhone/iPad Programming with C# and .NET: Loading Default User Settings in MonoTouch
Author's Site
Please visit the author's site at www.paulyao.com.
|
3 of 3 people found the following review helpful
Amazon Verified Purchase(What's this?)
This review is from: Programming .NET Compact Framework 3.5 (2nd Edition) (Paperback)
Reading this book after reading books like PHP 3rd Edition by Larry Ullman and Flash HOT (Hands on Training) I came in expecting more. I'm a fan of Win32 myself and the author showed his true colors a lot as well with many comments about it and shortcomings of .NET. I'm all for that and if he is that big of a fan he should make a good Win Mobile Win32 book since not much exist (Direct Show with the Camera would be a good chapter too since .NET CE's Camera Dialog is worthless and rendering pictures as a bitmap takes up a lot of memory). I bought this book to learn the latest 3.5 .Net though and didn't feel I gained much more than what I figured out on my own in the last couple years. There are many differences in .Net CE that need explained and the examples just assumed that since we knew Full .Net that he can just tell us the function name and we know everything about it. There are interesting sidebars and explanations of Win32 which make up for some but not all shortcomings. I've...
Read more
By
Amazon Verified Purchase(What's this?)
This review is from: Programming .NET Compact Framework 3.5 (2nd Edition) (Paperback)
excellent topics and simple explanations!!! Great examples (can be little better and more). To recommend to every compact framework programmer !
3 of 5 people found the following review helpful
By Midwest Book Review (Oregon, WI USA) - See all my reviews
This review is from: Programming .NET Compact Framework 3.5 (2nd Edition) (Paperback)
Programmers working in advanced Microsoft programming will find this has been completely revised and updated for .NET Compact Framework 2.0 and 3.5, Visual Studio 2008, and Windows Mobile SmartPhones, and shows how to create effective applications for all these handheld wireless devices. From blending mobile data with remote databases to integrating data-driven applications, it's a fine recommendation for any advanced computer reference library.
|
› See all 4 customer reviews...
Online Sample Chapter
LINQ and the .NET Compact Framework 3.5
Table of Contents
Figures xvii
Tables xxi
Foreword xxv
Preface xxvii
Acknowledgments xxxiii
About the Authors xxxvii
Chapter 1: Mobile Phone Programming 1
1.1 Selecting an Application Programming Interface 4
1.2 Memory Management 19
1.3 Conclusion 37
Chapter 2: Extending Battery Life 39
2.1 What Is the Problem? 40
2.2 Measuring Battery Usage 43
2.3 Device Power Study 51
2.4 Conclusion 58
Chapter 3: Platform Invoke 59
3.1 Overview of P/Invoke 60
3.2 Creating P/Invoke Declarations 66
3.3 Supported P/Invoke Function Parameters 75
3.4 A Sample Program: CallWin32 93
3.5 Writing Win32 Dynamic Link Libraries 96
3.6 Manual P/Invoke Parameter Passing 100
3.7 Communicating between Native and Managed Code 108
3.8 Comparing P/Invoke Support 112
3.9 Conclusion 113
Chapter 4: Data Binding to Controls 115
4.1 Data Binding 115
4.2 Complex Data Binding 124
4.3 Simple Data Binding 126
4.4 The DataGrid Control 132
4.5 Conclusion 177
Chapter 5: Storage 179
5.1 Smart-Device Data Storage 179
5.2 File I/O 183
5.3 Registry Access 213
5.4 Conclusion 221
Chapter 6: ADO.NET Programming 223
6.1 Examining ADO.NET 226
6.2 Working with Data Sets 236
6.3 Microsoft SQL Server CE 254
6.4 Microsoft SQL Server 287
6.5 Web Services 318
6.6 Conclusion 335
Chapter 7: LINQ 337
7.1 Overview 337
7.2 The Sample Application 344
7.3 LINQ to XML 378
7.4 Conclusion 383
Chapter 8: Synchronizing Mobile Data 385
8.1 Understanding SQL Server CE Synchronization 387
8.2 Installing Remote Data Connectivity 392
8.3 Using RDA 397
8.4 Using Merge Replication 409
8.5 Choosing between Merge Replication and RDA 424
8.6 Using Data Synchronization Services 424
8.7 Conclusion 448
Chapter 9: The Remote API 451
9.1 RAPI Fundamentals 451
9.2 Accessing the Object Store 470
9.3 Detecting Changes in Device Connection State 499
9.4 Loading Programs and DLLs 507
9.5 Conclusion 514
Chapter 10: Windows Communication Foundation 515
10.1 What Is WCF? 515
10.2 Creating a WCF Service 523
10.3 Creating a WCF Client in Windows Mobile 538
10.4 Conclusion 546
Chapter 11: Creating Graphical Output 549
11.1 An Introduction to .NET Compact Framework Graphics 549
11.2 Drawing on the Display Screen 561
11.3 Raster Graphics 570
11.4 Vector Graphics 602
11.5 Conclusion 619
Chapter 12: Text and Fonts 621
12.1 Drawing Text 621
12.2 Font Selection 625
12.3 Placing Text 632
12.4 Conclusion 640
Appendix A: Hungarian Notation for .NET Programs 641
A.1 Goals and Objectives 642
A.2 Guidelines 642
A.3 .NET Naming Guidelines 644
A.4 Hungarian Notation 646
Appendix B: Windows API Allocation and Cleanup Functions 659
Index 669
Sample Pages
Download the sample pages (includes Chapter 7 and Index)

This book includes free shipping!
This book includes free shipping!
eBook (Watermarked)
$47.99
$38.39
Includes EPUB, MOBI, and PDF
About eBook Formats
This eBook includes the following formats, accessible from your Account page after purchase:
EPUBThe open industry format known for its reflowable content and usability on supported mobile devices.
MOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDFThe popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.
- Request an Instructor or Media review copy.
- Corporate, Academic, and Employee Purchases
- International Buying Options
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.

