MCTS Self-Paced Training Kit (Exam 70-536): Microsoft .NET Framework 2.0 Application Development Foundation
by Tony Northrup
from Microsoft Press
Get in-depth exam prep for Exam 70-536, a core MCTS exam for the new Microsoft Technology Specialist and Professional Developer certifications and build real-world job skills. Includes test questions, reviews, case studies, code samples, and more.
Essential Windows Communication Foundation (WCF): For .NET Framework 3.5 (Microsoft .NET Development Series)
by Steve Resnick
from Addison-Wesley Professional
“Whether this is the first time or the fifty-first time you’re using WCF, you’ll learn something new by reading this book.”
--Nicholas Allen, Program Manager, Web Services, Microsoft
Windows Communication Foundation (WCF) is the easiest way to produce and consume Web services on the Microsoft platform. With .NET 3.5, WCF has been extensively revamped--and Visual Studio 2008 gives developers powerful new tools for utilizing it. Essential Windows Communication Foundation shows developers exactly how to make the most of WCF with .NET 3.5 and Visual Studio 2008.
Drawing on extensive experience working with early adopters, three Microsoft insiders systematically address the topics developers ask about WCF. The authors approach each subject with practical advice and present best practices, tips, and tricks for solving problems. Throughout, you’ll find detailed explanations, solutions for the “pain points” of WCF development, and an extensive collection of reusable code examples. Coverage includes
- Using WCF contracts to define complex structures and interfaces
- Understanding WCF’s channel stacks and channel model architecture
- Configuring the WCF communication stack to use only the protocols you need
- Using standard and custom service behaviors to manage concurrency, instances, transactions, and more
- Serializing data from .NET types to XML Infosets and representing Infosets “on the wire”
- Hosting WCF services via IIS, managed .NET applications, and Windows Activation Services
- WCF security, in depth: authentication; transport and message-level security; and Internet and intranet scenarios
- Improving reliability: exception handling, diagnostics, and more
- Workflow services: new integration points between WCF 3.5 and Windows Workflow Foundation
- Building client-to-client, peer network-based applications
- Utilizing WCF for non-SOAP Web services: AJAX and JSON examples and .NET 3.5 hosting classes
Microsoft’s Steve Resnick, Richard Crane, and Chris Bowen are technology experts at the Microsoft Technology Center in Boston. They specialize in helping customers improve their technical agility by applying WCF and related technologies. Resnick has specialized in Internet technologies and distributed computing at Microsoft since 1995. He is a frequent speaker at Microsoft events and is now technology director for the U.S. Microsoft Technology Centers. Crane has more than 15 years of experience in senior software development roles. He specializes in large-scale Web sites, distributed computing, transactional systems, and performance analysis. Bowen has been an architect and developer for more than 15 years at companies such as Monster.com and Staples and is co-author of Professional Visual Studio 2005 Team System.
Foreword xxv
Preface xxvii
Chapter 1: Basics 1
Chapter 2: Contracts 33
Chapter 3: Channels 91
Chapter 4: Bindings 111
Chapter 5: Behaviors 181
Chapter 6: Serialization and Encoding 241
Chapter 7: Hosting 287
Chapter 8: Security 315
Chapter 9: Diagnostics 375
Chapter 10: Exception Handling 403
Chapter 11: Workflow Services 423
Chapter 12: Peer Networking 459
Chapter 13: Programmable Web 503
Appendix: Advanced Topics 537
Index 553
Microsoft Windows Workflow Foundation Step by Step (Pro Step By Step Developer)
by Kenn Scribner
from Microsoft Press
Get hands-on, step-by-step guidance for using Windows Workflow Foundation to create process-managed applications for Microsoft Windows. This reference offers practical instruction and a CD with practice files and code samples.
Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer)
by Charles Petzold
from Microsoft Press
In this book, Windows programming legend Charles Petzold covers in parallel the two interfaces that make up the Windows Presentation Foundation (WPF). From the outset, the reader can shift focus seamlessly between Extensible Application Markup Language (XAML) and C# to see them as flip sides of the same processes. Beginning in the first chapter, Petzold presents the general syntax of the XAML and corresponding programming code with numerous illuminating examples on how the two correspond and interrelate. The book builds on this base, providing the classic Petzold Windows user interface (UI) treatment, to show Windows developers how to create next-generation interfaces for their applications.
Microsoft Windows Communication Foundation Step by Step (Step By Step Developer Series)
by John Sharp
from Microsoft Press
Microsoft Windows Communication Foundation is your hands-on, step by step guide to learning how to use WCF to create interoperable Web Services. Teach yourself the essentials of using Windows Communication Foundation (WCF)a key component of the new WinFX development environment for Windowswith this practical, hands-on tutorial. Includes practice exercises and code samples on CD.
Essential Windows Workflow Foundation (Microsoft .NET Development Series)
by Dharma Shukla
from Addison-Wesley Professional
“Something big is about to happen….”
–From the Foreword by Don Box, Architect, Microsoft Corporation
“If I were writing a Workflow book, this is what I would have written. The material is very well presented with code examples and explanations. Also, I love how the authors discuss the underlying architecture, enabling me to get a really deep understanding of the technology to efficiently design and build my own projects.”
–Jeffrey Richter (http://Wintellect.com)
“Explicit support for workflows in a lightweight framework is a major contribution. Many tough problems traditionally faced by application authors, such as state management in the presence of long-running activities (think weeks or months!), can be addressed systematically by adopting
a workflow approach. Dharma Shukla and Bob Schmidt present the workflow technology under and made accessible by the new workflow foundation in the .NET 3.0 framework, and they do so in an approachable and yet authoritative way that is truly enjoyable.”
–Clemens Szyperski, software architect, Microsoft Corporation
“The Windows Workflow technology combines declarative programming and state machines in a very rich and powerful way, one that is bound to have a profound influence on the way we program in the coming years. In the style of the classic Essential COM by Don Box, Dharma and Bob have done a great job making this technology accessible to any developer already versed in C#, VB, and the .NET Framework, and who wants to achieve declarative enlightenment. Don’t miss out.”
–Joe Duffy, program manager, Common Language Runtime (CLR) team, Microsoft Corporation
“I think WF should and will be used as the main application model for web service applications. Developers working on web services will want to learn about this technology from this book; it comes straight from the source and explains the technology well and in depth.”
–Krzysztof Cwalina, program manager, Microsoft Corporation
“This book provides an enlightening exploration of Windows Workflow Foundation for both the novice and the veteran alike.”
–Nate Talbert, software design engineer, Microsoft Corporation
Windows Workflow Foundation (WF) is a groundbreaking approach to writing and executing programs. WF programs are assembled out of resumable program statements called activities, which provide encapsulation of both domainspecific logic and control flow patterns reflective of real-world processes.
In Essential Windows Workflow Foundation, two WF lead architects–Dharma Shukla and Bob Schmidt–offer an under-the-hood look at the technology, explaining the why and not just the how of WF’s key concepts and architecture. Serious WF developers seeking details about how to effectively utilize and extend the framework by writing activities will find cogent explanations and answers here. With simple and illustrative examples, the authors demonstrate exactly how to leverage WF’s extensible programming model to craft domain-specific programs. Drawing on their unique vantage point in designing and developing WF, Shukla and Schmidt deliver authoritative coverage of
- The core concepts and ideas that form the heart of WF’s programming model
- The execution model for activities, with details of the activity automaton, bookmarking, scheduling, and the threading model of the WF runtime
- Advanced execution concepts, including activity execution contexts, transactions, persistence points, passivation, fault handling, cancellation, compensation, and synchronization
- Hosting the WF runtime in applications
- The activity component model, with details of validation, compilation, serialization, and visualization
- Databinding, XAML, dependency properties, and WF program metadata
- Declarative conditions and rules, activity designers, and designer hosting
- Custom control flow patterns ranging from simple sequencing and iteration to more complex graphs and state machines
- Dynamic editing of running WF program instances
Essential Windows Workflow Foundation is the definitive resource for developers seeking an in-depth understanding of this novel technology.
Dharma Shukla is an architect at Microsoft working on next-generation programming models. A founding member of the Windows Workflow Foundation (WF) team, Dharma played a key role in defining the architecture of WF. Bob Schmidt is a senior program manager at Microsoft working on next-generation programming models. Since 2003, his primary focus has been on the design of WF. Both authors have been involved with the WF project since its inception, and have been responsible for specifying, designing, and developing large portions of the technology.
Contents
About the Authors xiii
Foreword xv
Preface xvii
Acknowledgments xxi
1 Deconstructing WF 1
2 WF Programs 33
3 Activity Execution 53
4 Advanced Activity Execution 111
5 Applications 179
6 Transactions 241
7 Advanced Authoring 259
8 Miscellanea 325
Appendix A Activity Automaton 395
Appendix B Control Flow Patterns 397
Index 435
MCTS Self-Paced Training Kit (Exam 70-502): Microsoft® .NET Framework 3.5 Windows® Presentation Foundation
by Matthew A. Stoecker
from Microsoft Press
Announcing an all-new Self-Paced Training Kit designed to help maximize your performance on 70-502, the required exam for the new Microsoft Certified Technology Specialist (MCTS) certification for Microsoft .NET Framework 3.5 Windows Presentation Foundation.
This 2-in-1 kit includes the official Microsoft study guide, plus practice tests on CD to help assess your skills. It comes packed with the tools and features exam candidates want most including in-depth, self-paced training based on final exam content; rigorous, objective-by-objective review; exam tips from expert, exam-certified authors; and customizable testing options. It also provides real-world scenarios, case study examples, and troubleshooting labs for the skills and expertise you can apply to the job.
Focusing on the Windows Presentation Foundation (WPF), this official study guide covers creating, configuring, and deploying WPF applications; integrating Windows Forms controls; adding multimedia content; using triggers and animation; binding to data sources; and configuring security settings.
Work at your own pace through the lessons and lab exercises. Then assess yourself using 300+ practice questions on the CD, featuring multiple, customizable testing options. Choose timed or untimed testing mode, generate random tests, or focus on discrete objectives. You get detailed explanations for right and wrong answers including pointers back to the book for further study. You also get an evaluation version of Microsoft Visual Studio® 2008 software and an exam discount voucher making this kit an exceptional value and a great career investment.
Key Book Benefits:
In-depth coverage of exam objectives and sub-objectives plus instructive case studies and troubleshooting scenarios to enhance your performance on the job 300+ practice and review questions Test engine that enables customized testing, pre-assessment and post-assessment, and automated scoring and feedback Handy exam-mapping grid Evaluation version of Visual Studio 2008 15 percent exam-discount voucher from Microsoft (limited-time offer) Entire study guide in searchable eBook format
Introduction to MFC Programming with Visual C++ (Microsoft Technologies Series)
by Richard M. Jones
from Prentice Hall PTR
Essential Windows Presentation Foundation (WPF) (Microsoft .NET Development Series)
by Chris Anderson
from Addison-Wesley Professional
“Chris Anderson was one of the chief architects of the next-generation GUI stack, the Windows Presentation Framework (WPF), which is the subject of this book. Chris’s insights shine a light from the internals of WPF to those standing at the entrance, guiding you through the concepts that form the foundation of his creation.”
–From the foreword by Chris Sells
“As one of the architects behind WPF, Chris Anderson skillfully explains not only the ‘how,’ but also the ‘why.’ This book is an excellent resource for anyone wanting to understand the design principles and best practices of WPF.”
–Anders Hejlsberg, technical fellow, Microsoft Corporation
“If WPF stands as the user interface technology for the next generation of Windows, then Chris Anderson stands as the Charles Petzold for the next generation of Windows user interface developers.”
–Ted Neward, founding editor, TheServerSide.NET
“This is an excellent book that does a really great job of introducing you to WPF, and explaining how to unlock the tremendous potential it provides.”
–Scott Guthrie, general manager, Developer Division, Microsoft
“WPF is a whole new animal when it comes to creating UI applications, drawing on design principles originating from both Windows Forms and the Web. Chris does a great job of not only explaining how to use the new features and capabilities of WPF (with associated code and XAML based syntax), but also explains why things work the way they do. As one of the architects of WPF, Chris gives great insight into the plumbing and design principles of WPF, as well as the mechanics of writing code using it. This is truly essential if you plan to be a serious WPF developer.”
–Brian Noyes, chief architect, IDesign Inc.; Microsoft Regional Director; Microsoft MVP
“I was given the opportunity to take a look at Chris Anderson’s book and found it to be an exceedingly valuable resource, one I can comfortably recommend to others. I can only speak for myself, but when faced with a new technology I like to have an understanding of how it relates to and works in relation to the technology it is supplanting. Chris starts his book by tying the WPF directly into the world of Windows 32-bit UI in C++. Chris demonstrates both a keen understanding of the underlying logic that drives the WPF and how it works and also a skill in helping the reader build on their own knowledge through examples that mimic how you would build your cutting edge applications.”
–Bill Sheldon, principal engineer, InterKnowlogy
Windows Presentation Foundation (WPF) replaces Microsoft’s diverse presentation technologies with a unified, state-of-the-art platform for building rich applications. WPF combines the best of Windows and the Web; fully integrates user interfaces, documents, and media; and leverages the full power of XML-based declarative programming.
In Essential Windows Presentation Foundation, former WPF architect Chris Anderson systematically introduces this breakthrough platform, focusing on the concepts and techniques working developers need in order to build robust applications for real users. Drawing on his unique experience as an architect on the team, Anderson thoroughly illuminates the crucial new concepts underlying WPF and reveals how its APIs work together to offer developers unprecedented value.
Through working sample code, you’ll discover how WPF draws on the Web’s simple models for markup and deployment, common frame for applications, and rich server connectivity, and on Windows’ rich client model, simple programming model, strong control over look-and-feel, and rich networking. Topics explored in depth include
- WPF components and architecture
- Key WPF design decisions–and why they matter
- XAML markup language
- Controls
- Layouts
- Visuals and media, including 2D, 3D, video, and animation
- Data integration
- Actions
- Styles
- WPF Base Services
Essential Windows Presentation Foundation is the definitive, authoritative, code-centric WPF reference: everything Windows developers need to create a whole new generation of rich, graphical applications.
Foreword by Don Box
Foreword by Chris Sells
Preface
About the Author
Chapter 1: Introduction
Chapter 2: Applications
Chapter 3: Controls
Chapter 4: Layout
Chapter 5: Visuals
Chapter 6: Data
Chapter 7: Actions
Chapter 8: Styles
Appendix: Base Services
Index
Programming Windows with MFC, Second Edition
by Jeff Prosise
from Microsoft Press
The second edition of Jeff Prosise's Programming Windows with MFC is a great introduction to the programming language that will help you build client-side applications in MFC. Though it doesn't cover Internet development, this title provides a worthy tutorial on traditional MFC programming.
After some MFC basics, the book looks at Graphical Device Interface (GDI) graphics with a fine discussion of drawing and font handling. Following this, Prosise introduces the use of the MFC collection classes (an alternative to STL) and file I/O, as well as adding serialization support to custom classes.
He also dedicates a fair amount of text to basic Windows controls and dialog boxes. His tour of support for both the Single Document Interface (SDI) and Multiple Document Interface (MDI) application styles is just excellent. The built-in view classes in MFC and how to use them in a Windows Explorer-style sample program are covered. From there, it's on to other common GUI interface models such as toolbars, status bars, and the new Internet Explorer-style rebars. After a useful section on printing (including some valuable real-world tips for this tricky topic), the rich array of Windows common controls is discussed. As in the first edition, Prosise's introduction to MFC multithreading and synchronization objects (like mutexes) is a standout.
The last section of the book provides a comprehensive discussion of COM and ActiveX programming for the MFC developer. Although the Active Template Library (ATL) is omitted here, there are fine examples of building and using ActiveX controls, including the basics of OLE automation.
Newly revised with richer examples and the latest Windows functionality, the second edition of Programming Windows with MFC provides one of the best available tutorials for traditional MFC development. --Richard Dragan
The newly updated and expanded second edition of this acclaimed title covers 32-bit development for all Microsoft(r) Windows platforms, including Windows 2000, using the Microsoft Foundation Class Library (MFC). Aimed at developers who wish to capitalize on advances in the MFC for rapid, object-oriented programming, the book delves into MFC basics, progresses to the document/view architecture, then addresses advanced topics including ActiveX(r), OLE, and COM. Author Jeff Prosise once again sets the standard in describing the art of writing MFC-based Windows applications with his clear and comprehensive treatment of concepts and techniques. Readers will discover how to produce incredible functionality with little new code by appropriating MFC code from the class library. They'll also find sample programs and executables on the book's CD-ROM to further fuel their own projects.
+++


