SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
“To anyone looking to augment their existing MFC code base and knowledge with the powerful .NET classes—which provide such capabilities as disconnected data, in-memory database (IMDB), regular expressions, and data encryption—Tom Archer’s book has it all.”
—Erik Westermann, Lead Architect, Eidenai Innovations
Extending MFC Applications with the .NET Framework is the first book to show MFC developers how to boost productivity by incorporating .NET functionality into existing MFC applications. Tom Archer clearly illustrates how using the .NET Base Class Library (BCL)—to complement or replace MFC classes when there is a clear advantage—enables MFC developers to create elegant and robust Windows applications in the most efficient way possible.
Each chapter begins with an introduction that explains the technology, outlines its benefits, lists its pragmatic business uses, and summarizes the required syntax. As is an Archer trademark, this information is solidified with hands-on, practical demo applications.
This book answers the questions MFC developers have about .NET, including:
The CD-ROM supplies the complete downloadable source code, working samples, and test code from the book, as well as several productivity-enhancing utilities such as a Visual Studio .NET Custom AppWizard.
Disconnected Data via ADO.NET and DataSets
Download the Sample Chapter related to this title.
Foreword.
Preface.
Acknowledgments.
1. Combining MFC and Managed Extensions.
Introduction.
Writing a Managed Extensions Application.
Writing an MFC Application That Accesses .NET.
Mixed-Mode Programming Issues.
Working with .NET Types.
Summary.
Introduction.
Using the Regex Class to Split Strings.
Searching Strings with the Match and MatchCollection Classes.
Processing Groups and Captures.
Parsing and Replacing Strings
Replacing Matches Using Groups and Substitution Patterns.
Putting It All Together: Writing an E-mail Parser.
Summary.
Introduction.
Stream, Readers, and Writers in .NET.
File System Classes.
Accessing the Registry.
Summary.
Introduction.
Cryptography Basics.
Using Hash Codes.
Using Symmetric (Private) Key Encryption.
Using Asymmetric (Public) Key Encryption.
Combining Symmetric Encryption, Asymmetric Encryption, and Hash Codes.
Using Digital Signatures.
Summary.
Introduction.
Writing and Reading XML Documents.
The DOM and the XmlDocument Class.
Summary.
Introduction.
ADO.NET Basics.
Basic Database Operations with ADO.NET.
Working in Batch.
Working with Row State Information.
Searching, Sorting, and Filtering Data.
Working with Typed Datasets.
Summary.
Introduction.
Working with Binary (BLOB) Data.
Associating Related Tables with the DataRelation Class.
Understanding Concurrency.
Summary.
Introduction.
Serializing XML from a Single DataTable or Multiple Unrelated DataTables.
Serializing Datasets Containing Related Data Tables.
Mapping DataTable Columns to XML Node Types.
Saving Formatted XML.
Writing Schema Information.
Generating XML from a DataTable.
Filling DataSet Objects from XML.
Working with DiffGrams.
Summary.
Introduction.
Issues with DCOM.
Remoting and Web Services.
Demo: Writing a Demo Remoting Application.
Wrapping MFC Objects for Remoting.
Selecting Remoting Channels.
Using Asynchronous Callbacks.
Returning Objects to the Server.
Using Remoting in Interprocess Communication.
Implementing a Remoting Server in a Windows Service.
Summary.
Introduction.
Working with the Windows Event Log.
Process Control.
Monitoring System Performance.
Summary.
Introduction.
Using .NET Collections.
Serializing Managed Objects to and from Disk.
Summary.
Download the Foreword related to this title.
Download the Index
file related to this title.